|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static String |
PERSISTENT_CONFIGURATION_LIST
|
Method Summary | |
void |
addConfiguration(Artifact configName)
Adds a configuration to the list, but does not mark it as started. |
Artifact[] |
getListedConfigurations(Artifact query)
Gets all configurations in the list matching the specified query, whether they are marked at starting or not. |
boolean |
isKernelFullyStarted()
|
void |
migrateConfiguration(Artifact oldName,
Artifact newName,
Configuration configuration)
Migrates settings from an old version of a configuration to a newer version of the configuration. |
void |
removeConfiguration(Artifact configName)
Removes all record of the specified configuration from the configuration list. |
List |
restore()
|
void |
save()
|
void |
setKernelFullyStarted(boolean kernelFullyStarted)
|
void |
startConfiguration(Artifact configName)
Indicates that the configuration should be started when the server is started. |
void |
stopConfiguration(Artifact configName)
Indicates that the configuration should not be started when the server is started. |
Field Detail |
public static final String PERSISTENT_CONFIGURATION_LIST
Method Detail |
public boolean isKernelFullyStarted()
public void setKernelFullyStarted(boolean kernelFullyStarted)
public void save() throws IOException
IOException
public List restore() throws IOException
IOException
public void addConfiguration(Artifact configName)
public void startConfiguration(Artifact configName)
public void stopConfiguration(Artifact configName)
public void removeConfiguration(Artifact configName)
public Artifact[] getListedConfigurations(Artifact query)
query
- The artifact to search for, normally not fully resolved
so there may be multiple matches or matches that are not
exactly equal to the argument.
public void migrateConfiguration(Artifact oldName, Artifact newName, Configuration configuration)
oldName
- The name that the existing settings are undernewName
- The name to move the settings toconfiguration
- The configuration itself, which can be used to
verify that all the settings are still valid as
they are migrated.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |