[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ProfileService.getRunningProfileName() ?

scott.stark@jboss.org do-not-reply at jboss.com
Tue Feb 6 13:46:40 EST 2007


That is not hard-coded, its saying to use the profile "default" as defined by the ProfileKey.

You can edit any profile, not just the running one. There won't alway be an active profile as you can run the the profile service in a minimal kernel to edit a profile repository without an active jboss server instance. 

I can see a need to obtain the current profile when the profile service is running in the server. This method should really return the active ProfileKey.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012086#4012086

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012086



More information about the jboss-dev-forums mailing list