| org.objectweb.celtix.configuration.ConfigurationProvider
All known Subclasses: org.objectweb.celtix.bus.configuration.wsdl.WsdlJMSConfigurationProvider, org.objectweb.celtix.bus.configuration.TestConfigurationProvider, org.objectweb.celtix.configuration.impl.TestProvider, org.objectweb.celtix.bus.configuration.wsdl.WsdlPortProvider, org.objectweb.celtix.bus.ws.rm.RMPolicyProvider, org.objectweb.celtix.bus.configuration.wsdl.WsdlHttpConfigurationProvider, org.objectweb.celtix.bus.configuration.spring.ConfigurationProviderImpl, org.objectweb.celtix.configuration.impl.InMemoryProvider,
ConfigurationProvider | public interface ConfigurationProvider (Code) | | |
Method Summary | |
Object | getObject(String name) Lookup the value for the configuration item with the given name in the
underlying store.
Parameters: name - the name of the configuration item. | void | init(Configuration configuration) | boolean | save() | boolean | setObject(String name, Object value) Change the value of the configuration item with the given name.
Return true if the change was accepted and the value changed.
It is the providers responsibility to persiste the change in its underlying store
if it accepts the change.
Parameters: name - the name of the configuration item. Parameters: value - the new value for the configuration item. |
getObject | Object getObject(String name)(Code) | | Lookup the value for the configuration item with the given name in the
underlying store.
Parameters: name - the name of the configuration item. the value of the configuration item. |
save | boolean save()(Code) | | Save the changes
true if the save was successful. |
setObject | boolean setObject(String name, Object value)(Code) | | Change the value of the configuration item with the given name.
Return true if the change was accepted and the value changed.
It is the providers responsibility to persiste the change in its underlying store
if it accepts the change.
Parameters: name - the name of the configuration item. Parameters: value - the new value for the configuration item. true if the change was accepted. |
|
|