Class ShutdownServiceImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.yaafi.service.shutdown.ShutdownServiceImpl
- All Implemented Interfaces:
Runnable
,org.apache.avalon.framework.activity.Disposable
,org.apache.avalon.framework.activity.Initializable
,org.apache.avalon.framework.activity.Startable
,org.apache.avalon.framework.configuration.Configurable
,org.apache.avalon.framework.configuration.Reconfigurable
,org.apache.avalon.framework.context.Contextualizable
,org.apache.avalon.framework.logger.LogEnabled
,org.apache.avalon.framework.service.Serviceable
,ShutdownService
public class ShutdownServiceImpl
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements ShutdownService, 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
Monitors the componentConfiguration.xml and triggers a reconfiguration if the
content of the component configuration file has changed.
- Author:
- Siegfried Goeschl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.apache.avalon.framework.configuration.Configuration configuration) void
contextualize
(org.apache.avalon.framework.context.Context context) void
dispose()
void
void
reconfigure
(org.apache.avalon.framework.configuration.Configuration configuration) void
run()
void
service
(org.apache.avalon.framework.service.ServiceManager manager) void
start()
void
stop()
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
ShutdownServiceImpl
public ShutdownServiceImpl()Constructor
-
-
Method Details
-
service
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException - Specified by:
service
in interfaceorg.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
-
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException - Specified by:
contextualize
in interfaceorg.apache.avalon.framework.context.Contextualizable
- Throws:
org.apache.avalon.framework.context.ContextException
- See Also:
-
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException - Specified by:
configure
in interfaceorg.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
-
initialize
- Specified by:
initialize
in interfaceorg.apache.avalon.framework.activity.Initializable
- Throws:
Exception
-
start
- Specified by:
start
in interfaceorg.apache.avalon.framework.activity.Startable
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.apache.avalon.framework.activity.Startable
- Throws:
Exception
- See Also:
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.apache.avalon.framework.activity.Disposable
- See Also:
-
reconfigure
public void reconfigure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException - Specified by:
reconfigure
in interfaceorg.apache.avalon.framework.configuration.Reconfigurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
-
run
public void run()
-