Class EndpointReferenceExtensionContributor

  • Direct Known Subclasses:
    IdentityEPRExtnContributor

    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 Detail

      • EndpointReferenceExtensionContributor

        public EndpointReferenceExtensionContributor()
    • Method Detail

      • 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.