|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.jetty6.JettyContainerImpl
public class JettyContainerImpl
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
JettyContainerImpl(String objectName,
WebManager manager)
|
Method Summary | |
---|---|
void |
addContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
|
void |
addListener(org.mortbay.jetty.Connector listener)
|
InternalJAASJettyRealm |
addRealm(String realmName)
|
void |
addWebService(String contextPath,
String[] virtualHosts,
WebServiceContainer webServiceContainer,
String securityRealmName,
String realmName,
String transportGuarantee,
String authMethod,
ClassLoader classLoader)
|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
boolean |
getCollectStatistics()
|
long |
getCollectStatisticsStarted()
|
NetworkConnector[] |
getConnectors()
Gets any existing connectors associated with this network container. |
NetworkConnector[] |
getConnectors(String protocol)
Gets any existing connectors for this network container for the specified protocol. |
static GBeanInfo |
getGBeanInfo()
|
String |
getObjectName()
Gets the unique name of this object. |
org.mortbay.jetty.RequestLog |
getRequestLog()
|
Stats |
getStats()
Gets the statistics collected for this class. |
boolean |
isEventProvider()
Determines if this object implemnts the event provider type defined in the J2EE Management specification. |
boolean |
isStateManageable()
Determines if this object implements the state manageable type defined in the J2EE Management specification. |
boolean |
isStatisticsProvider()
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification. |
void |
removeContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
|
void |
removeListener(org.mortbay.jetty.Connector listener)
|
void |
removeRealm(String realmName)
|
void |
removeWebService(String contextPath)
|
void |
resetStatistics()
|
void |
resetStats()
Reset the startTime for all statistics |
void |
setCollectStatistics(boolean on)
|
void |
setRequestLog(org.mortbay.jetty.RequestLog log)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public JettyContainerImpl(String objectName, WebManager manager)
Method Detail |
---|
public String getObjectName()
J2EEManagedObject
getObjectName
in interface J2EEManagedObject
public boolean isStateManageable()
J2EEManagedObject
isStateManageable
in interface J2EEManagedObject
public boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider
in interface J2EEManagedObject
public boolean isEventProvider()
J2EEManagedObject
isEventProvider
in interface J2EEManagedObject
public NetworkConnector[] getConnectors()
NetworkContainer
getConnectors
in interface NetworkContainer
public NetworkConnector[] getConnectors(String protocol)
NetworkContainer
getConnectors
in interface NetworkContainer
protocol
- A protocol as returned by getSupportedProtocolspublic void resetStatistics()
resetStatistics
in interface JettyContainer
public void setCollectStatistics(boolean on)
setCollectStatistics
in interface JettyContainer
public boolean getCollectStatistics()
getCollectStatistics
in interface JettyContainer
public long getCollectStatisticsStarted()
getCollectStatisticsStarted
in interface JettyContainer
public void resetStats()
StatisticsProvider
resetStats
in interface StatisticsProvider
public Stats getStats()
StatisticsProvider
getStats
in interface StatisticsProvider
public void addListener(org.mortbay.jetty.Connector listener)
addListener
in interface JettyContainer
public void removeListener(org.mortbay.jetty.Connector listener)
removeListener
in interface JettyContainer
public void addContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
addContext
in interface JettyContainer
public void removeContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
removeContext
in interface JettyContainer
public InternalJAASJettyRealm addRealm(String realmName)
addRealm
in interface JettyContainer
public void removeRealm(String realmName)
removeRealm
in interface JettyContainer
public void addWebService(String contextPath, String[] virtualHosts, WebServiceContainer webServiceContainer, String securityRealmName, String realmName, String transportGuarantee, String authMethod, ClassLoader classLoader) throws Exception
addWebService
in interface SoapHandler
Exception
public void removeWebService(String contextPath)
removeWebService
in interface SoapHandler
public void setRequestLog(org.mortbay.jetty.RequestLog log)
setRequestLog
in interface JettyContainer
public org.mortbay.jetty.RequestLog getRequestLog()
getRequestLog
in interface JettyContainer
public void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doStop()
GBeanLifecycle
doStop
in interface GBeanLifecycle
public void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |