|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentConfigurationList
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 |
hasGBeanAttributes(Artifact configName)
This method checks if there are any custom gbean attributes in the configuration. |
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<Artifact> |
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 |
---|
static final String PERSISTENT_CONFIGURATION_LIST
Method Detail |
---|
boolean isKernelFullyStarted()
void setKernelFullyStarted(boolean kernelFullyStarted)
void save() throws IOException
IOException
List<Artifact> restore() throws IOException
IOException
void addConfiguration(Artifact configName)
void startConfiguration(Artifact configName)
void stopConfiguration(Artifact configName)
void removeConfiguration(Artifact configName)
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.
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.boolean hasGBeanAttributes(Artifact configName)
configName
- Name of the configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |