org.apache.fulcrum.yaafi.service.shutdown
Class ShutdownServiceImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.yaafi.service.shutdown.ShutdownServiceImpl
- All Implemented Interfaces:
- java.lang.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, java.lang.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
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
void |
dispose()
|
void |
initialize()
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShutdownServiceImpl
public ShutdownServiceImpl()
- Constructor
service
public void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
- Specified by:
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
- Throws:
org.apache.avalon.framework.context.ContextException
- See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize
in interface org.apache.avalon.framework.activity.Initializable
- Throws:
java.lang.Exception
- See Also:
Initializable.initialize()
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface org.apache.avalon.framework.activity.Startable
- Throws:
java.lang.Exception
- See Also:
Startable.start()
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface org.apache.avalon.framework.activity.Startable
- Throws:
java.lang.Exception
- See Also:
Startable.stop()
dispose
public void dispose()
- Specified by:
dispose
in interface org.apache.avalon.framework.activity.Disposable
- See Also:
Disposable.dispose()
reconfigure
public void reconfigure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
reconfigure
in interface org.apache.avalon.framework.configuration.Reconfigurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
Reconfigurable.reconfigure(org.apache.avalon.framework.configuration.Configuration)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- See Also:
Runnable.run()
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.