Class DeploymentDescriptorParser<A>
java.lang.Object
com.sun.xml.ws.transport.httpspi.servlet.DeploymentDescriptorParser<A>
Parses
sun-jaxws.xml- Author:
- Jitendra Kotamraju
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCreates a new "Adapter". -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final QNamestatic final QName -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentDescriptorParser(ClassLoader cl, ResourceLoader loader, DeploymentDescriptorParser.AdapterFactory<A> adapterFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidensureNoContent(XMLStreamReader reader) protected static voidfail(String key, XMLStreamReader reader) protected static voidfailWithFullName(String key, XMLStreamReader reader) protected static voidfailWithLocalName(String key, XMLStreamReader reader) protected static voidfailWithLocalName(String key, XMLStreamReader reader, String arg) protected StringgetAttribute(XMLStreamReader reader, String name) protected StringgetMandatoryAttribute(XMLStreamReader reader, String name) protected StringgetMandatoryNonEmptyAttribute(XMLStreamReader reader, String name) protected StringgetNonEmptyAttribute(XMLStreamReader reader, String name) protected QNamegetQNameAttribute(XMLStreamReader reader, String name) Parses thesun-jaxws.xmlfile and configures a set ofEndpointAdapters.parse(String systemId, InputStream is) Parses thesun-jaxws.xmlfile and configures a set ofEndpointAdapters.
-
Field Details
-
NS_RUNTIME
- See Also:
-
JAXWS_WSDL_DD_DIR
- See Also:
-
QNAME_ENDPOINTS
-
QNAME_ENDPOINT
-
ATTR_VERSION
- See Also:
-
ATTR_NAME
- See Also:
-
ATTR_IMPLEMENTATION
- See Also:
-
ATTR_WSDL
- See Also:
-
ATTR_SERVICE
- See Also:
-
ATTR_PORT
- See Also:
-
ATTR_URL_PATTERN
- See Also:
-
ATTR_ENABLE_MTOM
- See Also:
-
ATTR_MTOM_THRESHOLD_VALUE
- See Also:
-
ATTR_BINDING
- See Also:
-
ATTRVALUE_VERSION_1_0
- See Also:
-
-
Constructor Details
-
DeploymentDescriptorParser
public DeploymentDescriptorParser(ClassLoader cl, ResourceLoader loader, DeploymentDescriptorParser.AdapterFactory<A> adapterFactory) throws IOException - Parameters:
cl- Used to load service implementations.loader- Used to locate resources, in particular WSDL.adapterFactory- CreatesEndpointAdapter(or its derived class.)- Throws:
IOException
-
-
Method Details
-
parse
Parses thesun-jaxws.xmlfile and configures a set ofEndpointAdapters. -
parse
Parses thesun-jaxws.xmlfile and configures a set ofEndpointAdapters.- Throws:
IOException
-
getAttribute
-
getQNameAttribute
-
getNonEmptyAttribute
-
getMandatoryAttribute
-
getMandatoryNonEmptyAttribute
-
ensureNoContent
-
fail
-
failWithFullName
-
failWithLocalName
-
failWithLocalName
-