| java.lang.Object org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier
WsEndpointDDModifier | public class WsEndpointDDModifier extends DeploymentDescModifier (Code) | | Modify a Deployment Desc for Endpoint. Wrapper around a web.xml DOM.
author: Guillaume Sauthier |
Method Summary | |
public void | addEjbLocalRef(String name, String home, String remote, String link) | public void | addEjbRef(String name, String home, String remote, String link) | public void | addEndpointLoginConfig(Element loginConfig) | public void | addEndpointSecurityConstraint(Node securityConstraint) | public void | addSecurityRole(Node securityRole) | public void | addServlet(String name, String classname) Add a new servlet element in the web.xml. | public void | addServletMapping(String name, String mapping) Add a new servlet-mapping element in the web.xml. | public void | addServletParam(String servletName, String pName, String pValue) Add a new init-param element in the web.xml. | public void | addServletSecurityRoleRefs(String servletName, NodeList securityRoleRefs) Add a new security-role-ref element in the web.xml. | public void | removeServlet(String name) Remove a servlet element from the web.xml. | public String | removeServletMapping(String sName) | public NodeList | removeServletWithSecurity(String name) Remove a servlet element from the web.xml.
Parameters: name - servlet name. | public void | updateSecurityConstraint(String oldUrlPatter, String newUrlPatterValue) |
WsEndpointDDModifier | public WsEndpointDDModifier(Document web)(Code) | | Creates a new WsEndpointDDModifier object.
Parameters: web - web.xml document |
addEjbLocalRef | public void addEjbLocalRef(String name, String home, String remote, String link)(Code) | | DOCUMENT ME!
Parameters: name - DOCUMENT ME! Parameters: home - DOCUMENT ME! Parameters: remote - DOCUMENT ME! Parameters: link - DOCUMENT ME! |
addEjbRef | public void addEjbRef(String name, String home, String remote, String link)(Code) | | DOCUMENT ME!
Parameters: name - DOCUMENT ME! Parameters: home - DOCUMENT ME! Parameters: remote - DOCUMENT ME! Parameters: link - DOCUMENT ME! |
addEndpointLoginConfig | public void addEndpointLoginConfig(Element loginConfig)(Code) | | Add a new login-config element into the web.xml
Parameters: loginConfig - An element constaining the login-config setting |
addEndpointSecurityConstraint | public void addEndpointSecurityConstraint(Node securityConstraint)(Code) | | Add a new security-constraint element into the web.xml
Parameters: securityConstraint - A node containing the security-constraint setting |
addSecurityRole | public void addSecurityRole(Node securityRole)(Code) | | Add a new security-role element into the web.xml
Parameters: securityRole - A node containing the login-config setting |
addServlet | public void addServlet(String name, String classname)(Code) | | Add a new servlet element in the web.xml.
Parameters: name - servlet name. Parameters: classname - servlet fully qualified classname. |
addServletMapping | public void addServletMapping(String name, String mapping)(Code) | | Add a new servlet-mapping element in the web.xml.
Parameters: name - servlet name. Parameters: mapping - url-mapping value |
addServletParam | public void addServletParam(String servletName, String pName, String pValue)(Code) | | Add a new init-param element in the web.xml.
Parameters: servletName - the servlet name where init-param will be added. Parameters: pName - parameter name Parameters: pValue - parameter value |
addServletSecurityRoleRefs | public void addServletSecurityRoleRefs(String servletName, NodeList securityRoleRefs)(Code) | | Add a new security-role-ref element in the web.xml.
Parameters: servletName - the servlet name where security-role-ref will beadded. Parameters: securityRoleRefs - security-role elements for a servlet |
removeServlet | public void removeServlet(String name)(Code) | | Remove a servlet element from the web.xml.
Parameters: name - servlet name. |
removeServletMapping | public String removeServletMapping(String sName)(Code) | | Remove servlet-mapping tag associated to a given servlet-name
Parameters: sName - servlet-name url-pattern element's value in the servelet-mapping |
removeServletWithSecurity | public NodeList removeServletWithSecurity(String name)(Code) | | Remove a servlet element from the web.xml.
Parameters: name - servlet name. security-role elements for this servlet if such elements exist |
updateSecurityConstraint | public void updateSecurityConstraint(String oldUrlPatter, String newUrlPatterValue)(Code) | | Update the security-constraint element having url-pattern equal with
oldPattern by replacing this old pattern with the newUrlPattern
Parameters: oldUrlPatter - url-pattern to be replaced Parameters: newUrlPatterValue - url-pattern to replace with |
|
|