Class WebXmlInfoBean
- java.lang.Object
-
- com.sun.xml.ws.test.container.jelly.WebXmlInfoBean
-
public class WebXmlInfoBean extends java.lang.ObjectThis 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
Constructors Constructor Description WebXmlInfoBean(DeploymentContext context, java.util.List<EndpointInfoBean> endpoints, java.lang.String listenerClass, java.lang.String servletClass)The constructor creates the fields queried by the Jelly script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.util.List<EndpointInfoBean>getEndpoints()Starting from wsdl, a service may have more than one port.java.lang.StringgetListenerClass()java.lang.StringgetServletClass()java.lang.StringgetServletName()
-
-
-
Constructor Detail
-
WebXmlInfoBean
public WebXmlInfoBean(DeploymentContext context, java.util.List<EndpointInfoBean> endpoints, java.lang.String listenerClass, java.lang.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 Detail
-
getDisplayName
public java.lang.String getDisplayName()
-
getDescription
public java.lang.String getDescription()
-
getServletName
public java.lang.String getServletName()
-
getServletClass
public java.lang.String getServletClass()
-
getListenerClass
public java.lang.String getListenerClass()
-
getEndpoints
public java.util.List<EndpointInfoBean> 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.
-
-