| |
|
| org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc org.objectweb.jonas_web.deployment.api.WebContainerDeploymentDesc
WebContainerDeploymentDesc | public class WebContainerDeploymentDesc extends JndiEnvRefsGroupDesc (Code) | | This class do the parsing of the web.xml file and jonas-web.xml files and
contruct a data structure associated to these two files.
03/03 : Can read web.xml and jonas-web.xml if the url of the war is a directory.
author: Ludovic Bert author: Florent Benoit author: Philippe Coq |
WebContainerDeploymentDesc | public WebContainerDeploymentDesc(String fileName, ClassLoader classLoader, WebApp webApp, JonasWebApp jonasWebApp) throws DeploymentDescException(Code) | | Construct an instance of a WebContainerDeploymentDesc.
Constructor is private, call one of the static getInstance
method instead.
Parameters: fileName - the name of the warFile Parameters: classLoader - the classloader for the classes. Parameters: webApp - the data structure of the web-app (web.xml) Parameters: jonasWebApp - the data structure of the jonas-web-app(jonas-web.xml) throws: DeploymentDescException - if the deploymentdescriptors are corrupted. |
getContextRoot | public String getContextRoot()(Code) | | Get the context root of this web application.
the context root of this web application. |
getHost | public String getHost()(Code) | | Get the host on which the web application must be deployed.
the host on which the web application must be deployed. |
getJOnASXmlContent | public String getJOnASXmlContent()(Code) | | Return the content of the jonas-web.xml file
the content of the jonas-web.xml file |
getJava2DelegationModel | public boolean getJava2DelegationModel()(Code) | | Context classloader must follow the java2 delegation model ?
true if the context's classloader must follow the java 2 delegation model. |
getPort | public String getPort()(Code) | | Get the prefered port of the connector used to access the web application.
the prefered port of the connector used to access the web application. |
getSecurityRoleList | public List getSecurityRoleList()(Code) | | Gets the list of security roles
the list of security roles |
getServletClassname | public String getServletClassname(String servName)(Code) | | Return the classname of the given servlet
Parameters: servName - name of the given servlet the classname of the given servlet |
getServletDescList | public Collection getServletDescList()(Code) | | Gets the list of Servlets
list of Servlets |
getServletMappings | public List getServletMappings(String servName)(Code) | | Return the list of urlMapping of the given servlet
Parameters: servName - name of the given servlet the list of urlMapping of the given servlet |
getServletsName | public String[] getServletsName()(Code) | | Return a list of all servlets name available
a list of all servlets name available |
getXmlContent | public String getXmlContent()(Code) | | Return the content of the web.xml file
the content of the web.xml file |
setJOnASXmlContent | public void setJOnASXmlContent(String jXml)(Code) | | Set the content of the jonas-web.xml file
Parameters: jXml - the content of the file |
setXmlContent | public void setXmlContent(String xml)(Code) | | Set the content of the web.xml file
Parameters: xml - the content of the file |
toString | public String toString()(Code) | | Return a String representation of the WebContainerDeploymentDesc.
a String representation of the WebContainerDeploymentDesc. |
|
|
|