|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 J2EEManagedObjectpublic boolean isStateManageable()
J2EEManagedObject
isStateManageable in interface J2EEManagedObjectpublic boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider in interface J2EEManagedObjectpublic boolean isEventProvider()
J2EEManagedObject
isEventProvider in interface J2EEManagedObjectpublic NetworkConnector[] getConnectors()
NetworkContainer
getConnectors in interface NetworkContainerpublic NetworkConnector[] getConnectors(String protocol)
NetworkContainer
getConnectors in interface NetworkContainerprotocol - A protocol as returned by getSupportedProtocolspublic void resetStatistics()
resetStatistics in interface JettyContainerpublic void setCollectStatistics(boolean on)
setCollectStatistics in interface JettyContainerpublic boolean getCollectStatistics()
getCollectStatistics in interface JettyContainerpublic long getCollectStatisticsStarted()
getCollectStatisticsStarted in interface JettyContainerpublic void resetStats()
StatisticsProvider
resetStats in interface StatisticsProviderpublic Stats getStats()
StatisticsProvider
getStats in interface StatisticsProviderpublic void addListener(org.mortbay.jetty.Connector listener)
addListener in interface JettyContainerpublic void removeListener(org.mortbay.jetty.Connector listener)
removeListener in interface JettyContainerpublic void addContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
addContext in interface JettyContainerpublic void removeContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
removeContext in interface JettyContainerpublic InternalJAASJettyRealm addRealm(String realmName)
addRealm in interface JettyContainerpublic 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 SoapHandlerExceptionpublic void removeWebService(String contextPath)
removeWebService in interface SoapHandlerpublic void setRequestLog(org.mortbay.jetty.RequestLog log)
setRequestLog in interface JettyContainerpublic org.mortbay.jetty.RequestLog getRequestLog()
getRequestLog in interface JettyContainer
public void doStart()
throws Exception
GBeanLifecycle
doStart in interface GBeanLifecycleException - if the target failed to start; this will cause a transition to the failed statepublic void doStop()
GBeanLifecycle
doStop in interface GBeanLifecyclepublic void doFail()
GBeanLifecycle
doFail in interface GBeanLifecyclepublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||