| org.apache.geronimo.kernel.config.PersistentConfigurationList
PersistentConfigurationList | public interface PersistentConfigurationList (Code) | | version: $Rev: 604483 $ $Date: 2007-12-15 10:28:19 -0800 (Sat, 15 Dec 2007) $ |
PERSISTENT_CONFIGURATION_LIST | final static String PERSISTENT_CONFIGURATION_LIST(Code) | | |
addConfiguration | void addConfiguration(Artifact configName)(Code) | | Adds a configuration to the list, but does not mark it as started.
|
getListedConfigurations | Artifact[] getListedConfigurations(Artifact query)(Code) | | Gets all configurations in the list matching the specified query,
whether they are marked at starting or not.
Parameters: query - The artifact to search for, normally not fully resolvedso there may be multiple matches or matches that are notexactly equal to the argument. The matching artifacts that have data in the config list. |
hasGBeanAttributes | boolean hasGBeanAttributes(Artifact configName)(Code) | | This method checks if there are any custom gbean attributes in the configuration.
Parameters: configName - Name of the configuration true if the configuration contains any custom gbean attributes |
isKernelFullyStarted | boolean isKernelFullyStarted()(Code) | | |
migrateConfiguration | void migrateConfiguration(Artifact oldName, Artifact newName, Configuration configuration)(Code) | | Migrates settings from an old version of a configuration to a newer
version of the configuration. Used when an updated version is deployed
with a newer version number in the name, but the settings used for the
previous version should be carried forward.
Parameters: oldName - The name that the existing settings are under Parameters: newName - The name to move the settings to Parameters: configuration - The configuration itself, which can be used toverify that all the settings are still valid asthey are migrated. |
removeConfiguration | void removeConfiguration(Artifact configName)(Code) | | Removes all record of the specified configuration from the configuration
list. This is somewhat unusual -- normally you want to remember the
settings in case the configuration is deployed again later.
|
setKernelFullyStarted | void setKernelFullyStarted(boolean kernelFullyStarted)(Code) | | |
startConfiguration | void startConfiguration(Artifact configName)(Code) | | Indicates that the configuration should be started when the server is
started. The configuration should have been previously added with
addConfiguration.
|
stopConfiguration | void stopConfiguration(Artifact configName)(Code) | | Indicates that the configuration should not be started when the
server is started. The configuration should have been previously added
with addConfiguration (and presumably started with startConfiguration).
|
|
|