org.apache.fulcrum.jetty.impl
Class JettyServiceImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.jetty.impl.JettyServiceImpl
- All Implemented Interfaces:
- 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, JettyService
public class JettyServiceImpl
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Reconfigurable, JettyService
Starts an instance of the Spring Service Framework as Avalon service.
- Author:
- Siegfried Goeschl
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
org.mortbay.jetty.Server |
getServer()
Get the underlying Jetty server instance. |
void |
initialize()
|
void |
reconfigure(org.apache.avalon.framework.configuration.Configuration configuration)
|
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 |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
JettyServiceImpl
public JettyServiceImpl()
- Constructor
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
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 Exception
- Specified by:
initialize
in interface org.apache.avalon.framework.activity.Initializable
- Throws:
Exception
- See Also:
Initializable.initialize()
start
public void start()
throws Exception
- Specified by:
start
in interface org.apache.avalon.framework.activity.Startable
- Throws:
Exception
- See Also:
Startable.start()
stop
public void stop()
throws Exception
- Specified by:
stop
in interface org.apache.avalon.framework.activity.Startable
- Throws:
Exception
- See Also:
Startable.stop()
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)
getServer
public org.mortbay.jetty.Server getServer()
- Description copied from interface:
JettyService
- Get the underlying Jetty server instance.
- Specified by:
getServer
in interface JettyService
- Returns:
- the Jetty server instance
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.