views:

13

answers:

0

Hi, I have common setup and setup specific to request context(example for specific locality).

I was suggested to use profiles and on runtime work through a factory which would fetch the specific details from the context of the request and by convention load a profile to a nested container.

I can set profiles with names by convention but on runtime i would need to query the container if a specific profile exists otherwise load a less specific profile up-until i reach the default profile, I cannot find a way to query the container for existing profiles, is there one?

Is there a better approach to handle my requirements?

Thanks, eyan.