com.sun.xml.ws.api.server
Class EndpointReferenceExtensionContributor

java.lang.Object
  extended by 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

Constructor Summary
EndpointReferenceExtensionContributor()
           
 
Method Summary
abstract  WSEndpointReference.EPRExtension getEPRExtension(WSEndpoint endpoint, WSEndpointReference.EPRExtension extension)
           
abstract  QName getQName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.