Uses of Class javax.xml.ws.Service.Mode (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Class
javax.xml.ws.Service.Mode

- Packages that use Service.Mode
  Package | Description
  --- | ---
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.spi | This package defines SPIs for JAX-WS.

- - ### Uses of Service.Mode in javax.xml.ws

    Methods in javax.xml.ws that return Service.Mode
    Modifier and Type | Method and Description
    --- | ---
    `static Service.Mode` | Service.Mode.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Service.Mode[]` | Service.Mode.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in javax.xml.ws with parameters of type Service.Mode
    Modifier and Type | Method and Description
    --- | ---
    `<T> Dispatch<T>` | Service.`createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the client's choosing.
    `Dispatch<Object>` | Service.`createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `<T> Dispatch<T>` | Service.`createDispatch(QName portName, Class<T> type, Service.Mode mode)` Creates a `Dispatch` instance for use with objects of the client's choosing.
    `<T> Dispatch<T>` | Service.`createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the client's choosing.
    `Dispatch<Object>` | Service.`createDispatch(QName portName, JAXBContext context, Service.Mode mode)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `Dispatch<Object>` | Service.`createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.

  - ### Uses of Service.Mode in javax.xml.ws.spi

    Methods in javax.xml.ws.spi with parameters of type Service.Mode
    Modifier and Type | Method and Description
    --- | ---
    `abstract <T> Dispatch<T>` | ServiceDelegate.`createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the user's choosing.
    `abstract Dispatch<Object>` | ServiceDelegate.`createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `abstract <T> Dispatch<T>` | ServiceDelegate.`createDispatch(QName portName, Class<T> type, Service.Mode mode)` Creates a `Dispatch` instance for use with objects of the user's choosing.
    `abstract <T> Dispatch<T>` | ServiceDelegate.`createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the user's choosing.
    `abstract Dispatch<Object>` | ServiceDelegate.`createDispatch(QName portName, JAXBContext context, Service.Mode mode)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `abstract Dispatch<Object>` | ServiceDelegate.`createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.