|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.handler.ScopedHandler
org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.servlet.ServletContextHandler
org.eclipse.jetty.webapp.WebAppContext
org.mortbay.j2ee.J2EEWebAppContext
org.jboss.jetty.JBossWebAppContext
public class JBossWebAppContext
JBossWebApplicationContext Customize the jetty WebAppContext to jboss environment.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jetty.webapp.WebAppContext |
|---|
org.eclipse.jetty.webapp.WebAppContext.Context |
| Nested classes/interfaces inherited from class org.eclipse.jetty.servlet.ServletContextHandler |
|---|
org.eclipse.jetty.servlet.ServletContextHandler.Decorator |
| Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
| Field Summary | |
|---|---|
protected static org.jboss.logging.Logger |
__log
|
protected org.jboss.web.AbstractWebContainer.WebDescriptorParser |
_descriptorParser
|
protected org.jboss.web.WebApplication |
_webApp
|
| Fields inherited from class org.mortbay.j2ee.J2EEWebAppContext |
|---|
_distributableSessionManager, _log |
| Fields inherited from class org.eclipse.jetty.webapp.WebAppContext |
|---|
__dftServerClasses, __dftSystemClasses, BASETEMPDIR, ERROR_PAGE, SERVER_CONFIG, SERVER_SRV_CLASSES, SERVER_SYS_CLASSES, TEMPDIR, WEB_DEFAULTS_XML |
| Fields inherited from class org.eclipse.jetty.servlet.ServletContextHandler |
|---|
_decorators, _defaultSecurityHandlerClass, _options, _restrictedContextListeners, _securityHandler, _servletHandler, _sessionHandler, NO_SECURITY, NO_SESSIONS, SECURITY, SESSIONS |
| Fields inherited from class org.eclipse.jetty.server.handler.ContextHandler |
|---|
_scontext, MANAGED_ATTRIBUTES |
| Fields inherited from class org.eclipse.jetty.server.handler.ScopedHandler |
|---|
_nextScope, _outerScope |
| Fields inherited from class org.eclipse.jetty.server.handler.HandlerWrapper |
|---|
_handler |
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
JBossWebAppContext(org.jboss.web.AbstractWebContainer.WebDescriptorParser descriptorParser,
org.jboss.web.WebApplication webApp,
String warUrl)
Constructor |
|
| Method Summary | |
|---|---|
void |
doStop()
|
JBossLoginService |
getRealm()
|
String |
getSubjectAttribute()
|
String |
getUniqueName()
|
void |
setRealm(JBossLoginService realm)
|
void |
setSubjectAttribute(String subjAttr)
|
protected void |
setUpENC(ClassLoader loader)
|
protected void |
startContext()
|
| Methods inherited from class org.mortbay.j2ee.J2EEWebAppContext |
|---|
doStart, getDistributableSessionManager, setDistributableSessionManager |
| Methods inherited from class org.eclipse.jetty.webapp.WebAppContext |
|---|
addEventListener, addOverrideDescriptor, addServerClass, addSystemClass, configure, destroy, getConfigurationClasses, getConfigurations, getCurrentWebAppContext, getDefaultConfigurationClasses, getDefaultsDescriptor, getDefaultServerClasses, getDefaultSystemClasses, getDescriptor, getExtraClasspath, getMetaData, getOverrideDescriptor, getOverrideDescriptors, getPermissions, getResource, getResourceAlias, getResourceAliases, getServerClasses, getSystemClasses, getTempDirectory, getUnavailableException, getWar, getWebInf, isAllowDuplicateFragmentNames, isConfigurationDiscovered, isCopyWebDir, isCopyWebInf, isDistributable, isExtractWAR, isLogUrlOnStart, isParentLoaderPriority, isProtectedTarget, isServerClass, isSystemClass, isThrowUnavailableOnStartupException, loadConfigurations, loadSystemClasses, postConfigure, preConfigure, removeResourceAlias, setAllowDuplicateFragmentNames, setClassLoader, setConfigurationClasses, setConfigurationDiscovered, setConfigurations, setContextWhiteList, setCopyWebDir, setCopyWebInf, setDefaultsDescriptor, setDescriptor, setDisplayName, setDistributable, setEventListeners, setExtraClasspath, setExtractWAR, setLogUrlOnStart, setOverrideDescriptor, setOverrideDescriptors, setParentLoaderPriority, setPermissions, setResourceAlias, setResourceAliases, setServer, setServerClasses, setSystemClasses, setTempDirectory, setThrowUnavailableOnStartupException, setWar, toString |
| Methods inherited from class org.eclipse.jetty.servlet.ServletContextHandler |
|---|
addDecorator, addFilter, addFilter, addFilter, addFilter, addFilter, addFilter, addServlet, addServlet, addServlet, callContextDestroyed, callContextInitialized, getDecorators, getDefaultSecurityHandlerClass, getSecurityHandler, getServletHandler, getSessionHandler, newSecurityHandler, newServletHandler, newSessionHandler, setDecorators, setDefaultSecurityHandlerClass, setSecurityHandler, setServletHandler, setSessionHandler |
| Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler |
|---|
addLocaleEncoding, checkContext, checkManagedAttribute, clearAttributes, doHandle, doScope, dump, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLogger, getMaxFormContentSize, getMimeTypes, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, handle, isAliases, isAvailable, isCompactPath, isShutdown, loadClass, newResource, newResource, removeAttribute, setAliases, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setCompactPath, setConnectorNames, setContextPath, setErrorHandler, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMimeTypes, setResourceBase, setShutdown, setVirtualHosts, setWelcomeFiles |
| Methods inherited from class org.eclipse.jetty.server.handler.ScopedHandler |
|---|
handle, never, nextHandle, nextScope |
| Methods inherited from class org.eclipse.jetty.server.handler.HandlerWrapper |
|---|
expandChildren, getHandler, getHandlers, getNestedHandlerByClass, setHandler |
| Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerContainer |
|---|
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass |
| Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandler |
|---|
dumpThis, getServer |
| Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
|---|
addBean, dump, dump, dump, dump, dumpStdErr, getBean, getBeans, getBeans, removeBean, removeBeans |
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.webapp.WebAppClassLoader.Context |
|---|
newResource |
| Methods inherited from interface org.eclipse.jetty.server.Handler |
|---|
getServer, handle |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Field Detail |
|---|
protected static org.jboss.logging.Logger __log
protected org.jboss.web.AbstractWebContainer.WebDescriptorParser _descriptorParser
protected org.jboss.web.WebApplication _webApp
| Constructor Detail |
|---|
public JBossWebAppContext(org.jboss.web.AbstractWebContainer.WebDescriptorParser descriptorParser,
org.jboss.web.WebApplication webApp,
String warUrl)
throws Exception
descriptorParser - webApp - warUrl -
Exception| Method Detail |
|---|
public void doStop()
throws Exception
doStop in class J2EEWebAppContextExceptionpublic void setRealm(JBossLoginService realm)
public JBossLoginService getRealm()
public void setSubjectAttribute(String subjAttr)
public String getSubjectAttribute()
public String getUniqueName()
protected void startContext()
throws Exception
startContext in class org.eclipse.jetty.webapp.WebAppContextException
protected void setUpENC(ClassLoader loader)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||