public class ReconfigurationServiceImpl extends org.apache.avalon.framework.logger.AbstractLogEnabled implements ReconfigurationService, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Reconfigurable, org.apache.avalon.framework.activity.Initializable, Runnable, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.activity.Disposable
| Constructor and Description |
|---|
ReconfigurationServiceImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
contextualize(org.apache.avalon.framework.context.Context context) |
void |
dispose() |
void |
initialize() |
protected void |
onReconfigure(ReconfigurationEntry reconfigurationEntry)
Reconfigure either the whole container or a list of services.
|
void |
reconfigure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
run()
Polls for changes in the confguration to reconfigure either the whole
container or just a list of services.
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager) |
void |
start() |
void |
stop() |
public ReconfigurationServiceImpl()
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize in interface org.apache.avalon.framework.context.Contextualizableorg.apache.avalon.framework.context.ContextExceptionContextualizable.contextualize(org.apache.avalon.framework.context.Context)public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)public void initialize() throws Exception
initialize in interface org.apache.avalon.framework.activity.InitializableExceptionInitializable.initialize()public void start() throws Exception
start in interface org.apache.avalon.framework.activity.StartableExceptionStartable.start()public void stop() throws Exception
stop in interface org.apache.avalon.framework.activity.StartableExceptionStartable.stop()public void dispose()
dispose in interface org.apache.avalon.framework.activity.DisposableDisposable.dispose()public void reconfigure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
reconfigure in interface org.apache.avalon.framework.configuration.Reconfigurableorg.apache.avalon.framework.configuration.ConfigurationExceptionReconfigurable.reconfigure(org.apache.avalon.framework.configuration.Configuration)public void run()
run in interface RunnableRunnable.run()protected void onReconfigure(ReconfigurationEntry reconfigurationEntry) throws Exception
reconfigurationEntry - the configuration what to reconfigureException - the reconfiguration failedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.