Class WebXmlInfoBean
java.lang.Object
com.sun.xml.ws.test.container.jelly.WebXmlInfoBean
This bean wraps the endpoint information. It is passed to
the Jelly script to create a web.xml file.
The field names match the element names in the web.xml template.
-
Constructor Summary
ConstructorsConstructorDescriptionWebXmlInfoBean(DeploymentContext context, List<EndpointInfoBean> endpoints, String listenerClass, String servletClass) The constructor creates the fields queried by the Jelly script. -
Method Summary
Modifier and TypeMethodDescriptionStarting from wsdl, a service may have more than one port.
-
Constructor Details
-
WebXmlInfoBean
public WebXmlInfoBean(DeploymentContext context, List<EndpointInfoBean> endpoints, String listenerClass, String servletClass) The constructor creates the fields queried by the Jelly script. In many jax-ws web.xml files, the servlet name and display name are the same. This same convention is followed here for simplicity.TODO: support for multiple ports. Currently hard-coding url pattern and assuming only one port/service.
-
-
Method Details
-
getDisplayName
-
getDescription
-
getServletName
-
getServletClass
-
getListenerClass
-
getEndpoints
Starting from wsdl, a service may have more than one port. So the web.xml will have more than one url mapping to the same jax-ws servlet. The mappings in web.xml should match the endpoints in sun-jaxws.xml.
-