public interface RuntimeConfiguration
Modifier and Type | Method and Description |
---|---|
void |
addRuntimeListener(RuntimeListener listener)
Add a
ConfigurationListner . |
void |
configure()
Configure the object this configuration wraps.
|
void |
destroy()
Destroy this RuntimeConfiguration.
|
ArooaClass |
getClassIdentifier()
Get the name of the class that this RuntimeConfiguration will
be configuring.
|
void |
init()
Initialise this RuntimeConfiguration.
|
void |
removeRuntimeListener(RuntimeListener listener)
Remove a
RuntimeListener . |
void |
setIndexedProperty(String name,
int index,
Object value)
Set an indexed property on the wrapped object.
|
void |
setMappedProperty(String name,
String key,
Object value)
Set a mapped property on the wrapped object.
|
void |
setProperty(String name,
Object value)
Set a property on the wrapped object.
|
void addRuntimeListener(RuntimeListener listener)
ConfigurationListner
.listener
- void removeRuntimeListener(RuntimeListener listener)
RuntimeListener
.listener
- ArooaClass getClassIdentifier()
void init() throws ArooaConfigurationException
ArooaConfigurationException
void configure() throws ArooaConfigurationException
This will be called at the component level by client code. Child RuntimeConfigurations should listen for and propagate configuration events.
ArooaConfigurationException
void destroy() throws ArooaConfigurationException
This will be called at the component level by client code. Child RuntimeConfigurations should listen for and propagate destroy events.
Unlike configuration, destroy events should be passed to child components as well.
ArooaConfigurationException
void setProperty(String name, Object value) throws ArooaPropertyException
name
- value
- ArooaException
ArooaPropertyException
void setMappedProperty(String name, String key, Object value) throws ArooaPropertyException
name
- key
- value
- ArooaException
ArooaPropertyException
void setIndexedProperty(String name, int index, Object value) throws ArooaPropertyException
name
- index
- value
- ArooaException
ArooaPropertyException