This content has been marked as final.
Show 2 replies
-
1. Re: ProfileService.getRunningProfileName() ?
starksm64 Feb 6, 2007 1:46 PM (in response to ccrouch)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. -
2. Re: ProfileService.getRunningProfileName() ?
ccrouch Feb 6, 2007 2:00 PM (in response to ccrouch)"scott.stark@jboss.org" wrote:
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.
Right, understood."scott.stark@jboss.org" wrote:
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.
I could also see the need to return the active ProfileKey even when the profile service is running in a different kernel, i.e. remote access to a running server.