org.apache.geronimo.jetty
Class JettyContainerImpl
java.lang.Object
org.apache.geronimo.jetty.JettyContainerImpl
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, JettyContainer, org.apache.geronimo.management.geronimo.NetworkContainer, org.apache.geronimo.management.geronimo.WebContainer, org.apache.geronimo.management.J2EEManagedObject, org.apache.geronimo.management.StatisticsProvider, org.apache.geronimo.webservices.SoapHandler
public class JettyContainerImpl
- extends Object
- implements JettyContainer, org.apache.geronimo.webservices.SoapHandler, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.StatisticsProvider
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
JettyContainerImpl
public JettyContainerImpl(String objectName,
org.apache.geronimo.management.geronimo.WebManager manager)
getObjectName
public String getObjectName()
- Specified by:
getObjectName
in interface org.apache.geronimo.management.J2EEManagedObject
isStateManageable
public boolean isStateManageable()
- Specified by:
isStateManageable
in interface org.apache.geronimo.management.J2EEManagedObject
isStatisticsProvider
public boolean isStatisticsProvider()
- Specified by:
isStatisticsProvider
in interface org.apache.geronimo.management.J2EEManagedObject
isEventProvider
public boolean isEventProvider()
- Specified by:
isEventProvider
in interface org.apache.geronimo.management.J2EEManagedObject
getConnectors
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors()
- Specified by:
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkContainer
getConnectors
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors(String protocol)
- Specified by:
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkContainer
resetStatistics
public void resetStatistics()
- Specified by:
resetStatistics
in interface JettyContainer
setCollectStatistics
public void setCollectStatistics(boolean on)
- Specified by:
setCollectStatistics
in interface JettyContainer
getCollectStatistics
public boolean getCollectStatistics()
- Specified by:
getCollectStatistics
in interface JettyContainer
getCollectStatisticsStarted
public long getCollectStatisticsStarted()
- Specified by:
getCollectStatisticsStarted
in interface JettyContainer
getStats
public Stats getStats()
- Specified by:
getStats
in interface org.apache.geronimo.management.StatisticsProvider
addListener
public void addListener(org.mortbay.http.HttpListener listener)
- Specified by:
addListener
in interface JettyContainer
removeListener
public void removeListener(org.mortbay.http.HttpListener listener)
- Specified by:
removeListener
in interface JettyContainer
addContext
public void addContext(org.mortbay.http.HttpContext context)
- Specified by:
addContext
in interface JettyContainer
removeContext
public void removeContext(org.mortbay.http.HttpContext context)
- Specified by:
removeContext
in interface JettyContainer
addRealm
public InternalJAASJettyRealm addRealm(String realmName)
- Specified by:
addRealm
in interface JettyContainer
removeRealm
public void removeRealm(String realmName)
- Specified by:
removeRealm
in interface JettyContainer
addWebService
public void addWebService(String contextPath,
String[] virtualHosts,
org.apache.geronimo.webservices.WebServiceContainer webServiceContainer,
String securityRealmName,
String realmName,
String transportGuarantee,
String authMethod,
ClassLoader classLoader)
throws Exception
- Specified by:
addWebService
in interface org.apache.geronimo.webservices.SoapHandler
- Throws:
Exception
removeWebService
public void removeWebService(String contextPath)
- Specified by:
removeWebService
in interface org.apache.geronimo.webservices.SoapHandler
setRequestLog
public void setRequestLog(org.mortbay.http.RequestLog log)
- Specified by:
setRequestLog
in interface JettyContainer
getRequestLog
public org.mortbay.http.RequestLog getRequestLog()
- Specified by:
getRequestLog
in interface JettyContainer
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.