So right now the ProfileService method getActiveProfile returns the active Profile object,
and you can also get all the ProfileKeys from ProfileService.
But you can't getActiveProfileKey, or get the Key String directly from the Profile
object.
So right now we get the active profile, get all the profile keys, loop through the keys,
in the loop call getProfile(profilekey) and compare the Profile returned against the
active Profile object to see if they are the same to figure if we have the correct
profileKey matching the active profile.
Can we either add a getActiveProfileKey method to the ProfileService, or a getName or
getKey in the Profile object.
Thanks
Mark
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040021#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...