| |
|
| org.objectweb.jonas.web.catalina55.JOnASStandardContext
JOnASStandardContext | final public class JOnASStandardContext extends StandardContext (Code) | | 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
author: Florent Benoit author: Philippe Coq (Tomcat 4.0) |
JOnASStandardContext | public JOnASStandardContext()(Code) | | Constructor of the Context
|
JOnASStandardContext | public JOnASStandardContext(boolean inServerXml, boolean java2DelegationModel, boolean inEarCase)(Code) | | Constructor of the Context
Parameters: inServerXml - this context was defined in server.xml Parameters: java2DelegationModel - delegation model for classloader is true ? Parameters: inEarCase - if we are or not in EAR case |
addEnvironment | public void addEnvironment(ContextEnvironment environment)(Code) | | Add an environment entry for this web application.
Do nothing when running inside JOnAS. ENC environment is managed by JOnAS
Parameters: environment - New environment entry |
addResource | public void addResource(ContextResource resource)(Code) | | Add a resource reference for this web application.
Do nothing when running inside JOnAS. Resources are managed by JOnAS
Parameters: resource - New resource reference |
getEarON | public String getEarON()(Code) | | OBJECT_NAME of the parent J2EEApplication MBean |
getEarURL | public URL getEarURL()(Code) | | Returns the earURL. |
getJonasDeploymentDescriptor | public String getJonasDeploymentDescriptor()(Code) | | Gets the deployment descriptor content of jonas-web.xml file
the content of jonas-web.xml file |
getWarURL | public URL getWarURL()(Code) | | Returns the warURL. |
isInEarCase | public boolean isInEarCase()(Code) | | true if this web module is a part of a EAR |
isInServerXml | public boolean isInServerXml()(Code) | | This context was defined in server.xml ?
true if this context was defined in server.xml |
isJava2DelegationModel | public boolean isJava2DelegationModel()(Code) | | true if the Java2 delegation model is used |
setEarURL | protected void setEarURL(URL earURL)(Code) | | Parameters: earURL - The earURL to set. |
setInEarCase | protected void setInEarCase(boolean inEarCase)(Code) | | Parameters: inEarCase - The inEarCase to set. |
setJava2DelegationModel | protected void setJava2DelegationModel(boolean java2DelegationModel)(Code) | | Parameters: java2DelegationModel - The java2DelegationModel to set. |
setJonasDeploymentDescriptor | public void setJonasDeploymentDescriptor(String jonasDeploymentDescriptor)(Code) | | Set the deployment descriptor content of jonas-web.xml file
Parameters: jonasDeploymentDescriptor - the content of jonas-web.xml |
setParentClassLoader | public void setParentClassLoader(ClassLoader parent)(Code) | | Set the parent class loader for this web application.
Do it only if it is not started.
Parameters: parent - The new parent class loader |
setWarURL | protected void setWarURL(URL warURL)(Code) | | Parameters: warURL - The warURL to set. |
start | public synchronized void start() throws LifecycleException(Code) | | Start the JOnAS context if catalina is started
throws: LifecycleException - if the context can't be started |
stop | public synchronized void stop() throws LifecycleException(Code) | | Stop this Context component.
exception: LifecycleException - if a shutdown error occurs |
|
|
|