|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.core.ContainerBase
org.apache.catalina.core.StandardContext
org.objectweb.jonas.web.catalina50.JOnASStandardContext
Define a JOnAS context. It is used to check if a context has been defined in server.xml and to use this context while deploying the war instead of creating a new one
Nested Class Summary |
Nested classes inherited from class org.apache.catalina.core.ContainerBase |
org.apache.catalina.core.ContainerBase.ContainerBackgroundProcessor, org.apache.catalina.core.ContainerBase.PrivilegedAddChild |
Field Summary |
Fields inherited from class org.apache.catalina.core.StandardContext |
allowLinking, cacheMaxSize, cacheTTL, caseSensitive |
Fields inherited from class org.apache.catalina.core.ContainerBase |
backgroundProcessorDelay, children, cluster, controller, debug, domain, initialized, lifecycle, listeners, loader, manager, mserver, name, oname, parent, parentClassLoader, pipeline, realm, resources, sm, started, suffix, support, type |
Fields inherited from interface org.apache.catalina.Context |
RELOAD_EVENT |
Fields inherited from interface org.apache.catalina.Container |
ADD_CHILD_EVENT, ADD_MAPPER_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_MAPPER_EVENT, REMOVE_VALVE_EVENT |
Fields inherited from interface org.apache.catalina.Lifecycle |
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, START_EVENT, STOP_EVENT |
Constructor Summary | |
JOnASStandardContext()
Constructor of the Context |
|
JOnASStandardContext(boolean inServerXml,
boolean java2DelegationModel,
boolean inEarCase)
Constructor of the Context |
Method Summary | |
java.net.URL |
getEarURL()
|
java.lang.String |
getJonasDeploymentDescriptor()
Gets the deployment descriptor content of jonas-web.xml file |
java.net.URL |
getWarURL()
|
boolean |
isInEarCase()
|
boolean |
isInServerXml()
This context was defined in server.xml ? |
boolean |
isJava2DelegationModel()
|
void |
setEarURL(java.net.URL earURL)
|
void |
setJonasDeploymentDescriptor(java.lang.String jonasDeploymentDescriptor)
Set the deployment descriptor content of jonas-web.xml file |
void |
setWarURL(java.net.URL warURL)
|
void |
start()
Start the JOnAS context if catalina is started |
void |
stop()
Stop this Context component. |
void |
unsetAuthenticationCaching()
Disable cache of the authenticator |
Methods inherited from class org.apache.catalina.core.StandardContext |
addApplicationListener, addApplicationParameter, addChild, addConstraint, addEjb, addEnvironment, addEnvironment, addErrorPage, addFilterDef, addFilterMap, addInstanceListener, addJspMapping, addLocaleEncodingMappingParameter, addLocalEjb, addMessageDestination, addMessageDestinationRef, addMimeMapping, addParameter, addResource, addResource, addResourceEnvRef, addResourceLink, addResourceLink, addResourceParams, addRoleMapping, addSecurityRole, addServletMapping, addServletMapping, addTaglib, addWelcomeFile, addWrapperLifecycle, addWrapperListener, adjustURLPattern, backgroundProcess, create, createObjectName, createWrapper, destroy, engineBase, filterStart, filterStop, findApplicationListeners, findApplicationParameters, findConstraints, findEjb, findEjbs, findEnvironment, findEnvironments, findErrorPage, findErrorPage, findErrorPages, findFilterConfig, findFilterDef, findFilterDefs, findFilterMaps, findInstanceListeners, findLocalEjb, findLocalEjbs, findMappingObject, findMessageDestination, findMessageDestinationRef, findMessageDestinationRefs, findMessageDestinations, findMimeMapping, findMimeMappings, findParameter, findParameters, findResource, findResourceEnvRef, findResourceEnvRefs, findResourceLink, findResourceLinks, findResources, findRoleMapping, findSecurityRole, findSecurityRoles, findServletMapping, findServletMappings, findStaticResources, findStatusPage, findStatusPages, findTaglib, findTaglibs, findWelcomeFile, findWelcomeFiles, findWrapperLifecycles, findWrapperListeners, getAltDDName, getApplicationEventListeners, getApplicationLifecycleListeners, getAvailable, getCacheMaxSize, getCacheTTL, getCharsetMapper, getCharsetMapperClass, getCompilerClasspath, getConfigFile, getConfigured, getCookies, getCrossContext, getDefaultConfigFile, getDefaultWebXml, getDelegate, getDeploymentDescriptor, getDisplayName, getDistributable, getDocBase, getEngineName, getEnvironments, getHostname, getInfo, getJ2EEApplication, getJ2EEServer, getJavaVMs, getLoginConfig, getManagerChecksFrequency, getMapper, getNamingResources, getOverride, getParentName, getPath, getPaused, getPrivileged, getPublicId, getReloadable, getResourceLinks, getResourceNames, getServer, getServletContext, getServlets, getSessionTimeout, getStartTime, getStartupTime, getState, getStaticResources, getSwallowOutput, getTldNamespaceAware, getTldScanTime, getTldValidation, getUnpackWAR, getWelcomeFiles, getWorkDir, getWorkPath, getWrapperClass, getXmlNamespaceAware, getXmlValidation, init, isAllowLinking, isCachingAllowed, isCaseSensitive, isEventProvider, isFilesystemBased, isLazy, isReplaceWelcomeFiles, isServlet22, isStateManageable, isStatisticsProvider, isUseNaming, listenerStart, listenerStop, loadOnStartup, preDeregister, preRegister, reload, removeApplicationListener, removeApplicationParameter, removeChild, removeConstraint, removeEjb, removeEnvironment, removeErrorPage, removeFilterDef, removeFilterMap, removeInstanceListener, removeLocalEjb, removeMessageDestination, removeMessageDestinationRef, removeMimeMapping, removeParameter, removeResource, removeResourceEnvRef, removeResourceLink, removeRoleMapping, removeSecurityRole, removeServletMapping, removeTaglib, removeWelcomeFile, removeWrapperLifecycle, removeWrapperListener, resourcesStart, resourcesStop, setAllowLinking, setAltDDName, setApplicationEventListeners, setApplicationLifecycleListeners, setAvailable, setCacheMaxSize, setCacheTTL, setCachingAllowed, setCaseSensitive, setCharsetMapper, setCharsetMapperClass, setCompilerClasspath, setConfigFile, setConfigured, setCookies, setCrossContext, setDefaultWebXml, setDelegate, setDisplayName, setDistributable, setDocBase, setEngineName, setJ2EEApplication, setJ2EEServer, setJavaVMs, setLazy, setLoader, setLoginConfig, setManagerChecksFrequency, setName, setNamingResources, setOverride, setPath, setPrivileged, setPublicId, setReloadable, setReplaceWelcomeFiles, setResources, setServer, setSessionTimeout, setStartupTime, setSwallowOutput, setTldNamespaceAware, setTldScanTime, setTldValidation, setUnpackWAR, setUseNaming, setWorkDir, setWrapperClass, setXmlNamespaceAware, setXmlValidation, startRecursive, stopNew, toString |
Methods inherited from class org.apache.catalina.core.ContainerBase |
addContainerListener, addLifecycleListener, addPropertyChangeListener, addValve, findChild, findChildren, findContainerListeners, findLifecycleListeners, fireContainerEvent, getBackgroundProcessorDelay, getBasic, getChildren, getCluster, getContainerSuffix, getDebug, getDomain, getJmxName, getJSR77Suffix, getLoader, getLogger, getManager, getMappingObject, getName, getObjectName, getParent, getParentClassLoader, getPipeline, getRealm, getResources, getType, getValveObjectNames, getValves, invoke, log, log, logName, postDeregister, postRegister, removeContainerListener, removeLifecycleListener, removePropertyChangeListener, removeValve, setBackgroundProcessorDelay, setBasic, setCluster, setDebug, setDomain, setLogger, setManager, setParent, setParentClassLoader, setRealm, threadStart, threadStop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.catalina.Container |
addContainerListener, addPropertyChangeListener, findChild, findChildren, findContainerListeners, getBackgroundProcessorDelay, getCluster, getLoader, getLogger, getManager, getMappingObject, getName, getParent, getParentClassLoader, getPipeline, getRealm, getResources, invoke, removeContainerListener, removePropertyChangeListener, setBackgroundProcessorDelay, setCluster, setLogger, setManager, setParent, setParentClassLoader, setRealm |
Constructor Detail |
public JOnASStandardContext(boolean inServerXml, boolean java2DelegationModel, boolean inEarCase)
inServerXml
- this context was defined in server.xmlpublic JOnASStandardContext()
Method Detail |
public void start() throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException
- if the context can't be startedpublic void stop() throws org.apache.catalina.LifecycleException
org.apache.catalina.LifecycleException
- if a shutdown error occurspublic boolean isInServerXml()
public void unsetAuthenticationCaching()
public void setJonasDeploymentDescriptor(java.lang.String jonasDeploymentDescriptor)
jonasDeploymentDescriptor
- the content of jonas-web.xmlpublic java.lang.String getJonasDeploymentDescriptor()
public void setEarURL(java.net.URL earURL)
public java.net.URL getEarURL()
public void setWarURL(java.net.URL warURL)
public java.net.URL getWarURL()
public boolean isInEarCase()
public boolean isJava2DelegationModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |