|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileService
The entry point service for accessing/administering server profiles
| Method Summary | |
|---|---|
void |
activateProfile(ProfileKey key)
Activate a registered profile. |
void |
deactivateProfile(ProfileKey key)
Deactivate the profile. |
Profile |
getActiveProfile(ProfileKey key)
Obtain a activated profile for the key. |
Collection<ProfileKey> |
getActiveProfileKeys()
Get the keys for all active profiles. |
DeploymentManager |
getDeploymentManager()
Obtain the DeploymentManager plugin. |
String[] |
getDomains()
Get the unique domains for which profiles exist. |
Profile |
getProfile(ProfileKey key)
Obtain the registered profile for the key. |
Collection<ProfileKey> |
getProfileKeys()
Get the keys for all registered profiles. |
ManagementView |
getViewManager()
Obtain the ManagementView plugin. |
void |
registerProfile(Profile profile)
Register a Profile. |
void |
unregisterProfile(ProfileKey key)
Unregister a profile. |
void |
validateProfile(ProfileKey key)
Validate a registered profile. |
| Method Detail |
|---|
String[] getDomains()
Collection<ProfileKey> getProfileKeys()
Profile getProfile(ProfileKey key)
throws NoSuchProfileException
key - - the key for the profile
NoSuchProfileExceptionCollection<ProfileKey> getActiveProfileKeys()
Profile getActiveProfile(ProfileKey key)
throws NoSuchProfileException
key - - the key for the profile
NoSuchProfileException - thrown if there is no
active profileManagementView getViewManager()
DeploymentManager getDeploymentManager()
void registerProfile(Profile profile)
throws Exception
profile - the profile
Exception - for any error
void activateProfile(ProfileKey key)
throws NoSuchProfileException,
Exception
key - the profile key
NoSuchProfileException - if the profile is not registered
Exception - for any error
void deactivateProfile(ProfileKey key)
throws NoSuchProfileException
key - the profile key
NoSuchProfileException - if the profile is not active
void unregisterProfile(ProfileKey key)
throws NoSuchProfileException
key - the profile key
NoSuchProfileException - if the profile is not registered
void validateProfile(ProfileKey key)
throws Exception
key - the profile key
NoSuchProfileException - if the profile is not registered
Exception - if the profile is not installed correctly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||