Class EndpointReferenceExtensionContributor

java.lang.Object
com.sun.xml.ws.api.server.EndpointReferenceExtensionContributor

public abstract class EndpointReferenceExtensionContributor extends Object
Implementations of this class can contribute properties associated with an Endpoint. The properties appear as extensibility elements inside the EndpointReference of the endpoint. If any EPR extensibility elements are configured for an endpoint, the EndpointReference is published inside the WSDL.
Since:
JAX-WS 2.2
Author:
Rama Pulavarthi
  • Constructor Details

    • EndpointReferenceExtensionContributor

      protected EndpointReferenceExtensionContributor()
      Default constructor.
  • Method Details

    • getEPRExtension

      public abstract WSEndpointReference.EPRExtension getEPRExtension(WSEndpoint endpoint, @Nullable WSEndpointReference.EPRExtension extension)
      Parameters:
      extension - EPRExtension is passed if an extension with same QName is already configured on the endpoint via other means (one possible way is by embedding EndpointReference in WSDL).
      Returns:
      EPRExtension that should be finally configured on an Endpoint.
    • getQName

      public abstract QName getQName()
      Returns:
      QName of the extensibility element that is contributed by this extension.