|
||||||||||
| 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,
String jettyHome,
ServerInfo serverInfo)
|
|
| 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. |
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. |
boolean |
isStatsOn()
|
void |
removeContext(org.mortbay.jetty.handler.AbstractHandlerContainer context)
|
void |
removeListener(org.mortbay.jetty.Connector listener)
|
void |
removeRealm(String realmName)
|
void |
removeWebService(String contextPath)
|
void |
resetStats()
Reset the startTime for all statistics |
File |
resolveToJettyHome(String workDir)
|
void |
setRequestLog(org.mortbay.jetty.RequestLog log)
|
void |
setStatsOn(boolean on)
|
| 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,
String jettyHome,
ServerInfo serverInfo)
| 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 resetStats()
StatisticsProvider
resetStats in interface JettyContainerresetStats in interface StatisticsProviderpublic long getCollectStatisticsStarted()
getCollectStatisticsStarted in interface JettyContainerpublic boolean isStatsOn()
isStatsOn in interface JettyContainerisStatsOn in interface LazyStatisticsProviderpublic void setStatsOn(boolean on)
setStatsOn in interface JettyContainersetStatsOn in interface LazyStatisticsProviderpublic 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 File resolveToJettyHome(String workDir)
resolveToJettyHome 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 | |||||||||