| java.lang.Object com.sun.xml.ws.transport.http.DeploymentDescriptorParser
DeploymentDescriptorParser | public class DeploymentDescriptorParser (Code) | | Parses
sun-jaxws.xml into
WSEndpoint .
Since
sun-jaxws.xml captures more information than what
WSEndpoint represents (in particular URL pattern and name), this class
takes a parameterization 'A' so that the user of this parser can choose to
create another type that wraps
WSEndpoint .
HttpAdapter and its derived type is used for this often,
but it can be anything.
author: WS Development Team author: Kohsuke Kawaguchi |
Inner Class :public static interface AdapterFactory | |
Method Summary | |
protected static void | ensureNoContent(XMLStreamReader reader) | protected static void | fail(String key, XMLStreamReader reader) | protected static void | failWithFullName(String key, XMLStreamReader reader) | protected static void | failWithLocalName(String key, XMLStreamReader reader) | protected static void | failWithLocalName(String key, XMLStreamReader reader, String arg) | protected String | getAttribute(Attributes attrs, String name) | public static String | getBindingIdForToken(String lexical) JSR-109 defines short-form tokens for standard binding Ids. | protected String | getMandatoryAttribute(XMLStreamReader reader, Attributes attrs, String name) | protected String | getMandatoryNonEmptyAttribute(XMLStreamReader reader, Attributes attributes, String name) | protected String | getNonEmptyAttribute(XMLStreamReader reader, Attributes attrs, String name) | protected QName | getQNameAttribute(Attributes attrs, String name) | protected Class | loadClass(String name) | public List<A> | parse(String systemId, InputStream is) Parses the
sun-jaxws.xml file and configures
a set of
HttpAdapter s. | public List<A> | parse(File f) Parses the
sun-jaxws.xml file and configures
a set of
HttpAdapter s. | protected boolean | setHandlersAndRoles(WSBinding binding, XMLStreamReader reader, QName serviceName, QName portName) Parses the handler and role information and sets it
on the
WSBinding . |
ATTRVALUE_VERSION_1_0 | final public static String ATTRVALUE_VERSION_1_0(Code) | | |
ATTR_ENABLE_MTOM | final public static String ATTR_ENABLE_MTOM(Code) | | |
ATTR_IMPLEMENTATION | final public static String ATTR_IMPLEMENTATION(Code) | | |
ATTR_MTOM_THRESHOLD_VALUE | final public static String ATTR_MTOM_THRESHOLD_VALUE(Code) | | |
ATTR_URL_PATTERN | final public static String ATTR_URL_PATTERN(Code) | | |
JAXWS_WSDL_DD_DIR | final public static String JAXWS_WSDL_DD_DIR(Code) | | |
QNAME_ENDPOINT | final public static QName QNAME_ENDPOINT(Code) | | |
QNAME_ENDPOINTS | final public static QName QNAME_ENDPOINTS(Code) | | |
getBindingIdForToken | public static String getBindingIdForToken(String lexical)(Code) | | JSR-109 defines short-form tokens for standard binding Ids. These are
used only in DD. So stand alone deployment descirptor should also honor
these tokens. This method converts the tokens to API's standard
binding ids
Parameters: lexical - binding attribute value from DD. Always not null returns corresponding API's binding ID or the same lexical |
setHandlersAndRoles | protected boolean setHandlersAndRoles(WSBinding binding, XMLStreamReader reader, QName serviceName, QName portName)(Code) | | Parses the handler and role information and sets it
on the
WSBinding .
true if element present in DDfalse otherwise. |
|
|