public interface ConfigurableUnit
configure()
).
The current values can be acquired by calling the getConfiguration()
method.
Modifier and Type | Method and Description |
---|---|
void |
configureUnit(java.lang.String id,
Configuration config)
Restores values from persistent data stores.
|
void |
storeUnit(java.lang.String id,
Configuration config)
Stores the current configuration values persistently.
|
void |
unitRegistered(ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was registered with a model.
|
void |
unitUnregistered(ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was unregistered with a model.
|
void configureUnit(java.lang.String id, Configuration config)
id
- The unique identifier for the instanceconfig
- The configurationvoid storeUnit(java.lang.String id, Configuration config)
id
- The unique identifier for the instanceconfig
- The configurationvoid unitRegistered(ApplicationModel model, java.lang.String id)
model
- The application modelid
- The unique identifier for the instancevoid unitUnregistered(ApplicationModel model, java.lang.String id)
model
- The application modelid
- The unique identifier for the instanceCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.