public interface IConfigurableComponentService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
receiveConfig(java.lang.Object config)
Receives a configuration from the configuration manager.
|
static final java.lang.String SERVICE_NAME
java.lang.Object receiveConfig(java.lang.Object config) throws EsfConfigurationException
IConfigurableComponentService
an EsfConfigurationException
should be thrown which
and no previously archived configuration will be affected.
It is also important to note that upon receipt of a valid configuration the Configuration
Manager will publish a message on EventAdmin with the topic com/esf/core/configuration/service/new/
and the payload will be the bundle ID of the bundle that accepted its configuration. Note this
will occur even if the bundle implementing the IConfigurableComponentService returns a null
configuration. The only reason this will not occur is if the bundle throws an EsfConfigurationException.config
- The new configuration to be validated and put into effectObject
representing the valid new configuration to archive or null{@link
- EsfConfigurationException}EsfConfigurationException
Copyright © 2009 Eurotech Inc. All rights reserved.