Class EndpointImpl
- java.lang.Object
-
- org.glassfish.webservices.monitoring.EndpointImpl
-
- All Implemented Interfaces:
Endpoint
- Direct Known Subclasses:
JAXWSEndpointImpl
public class EndpointImpl extends Object implements Endpoint
Implementation of the endpoint interface- Author:
- Jerome Dochez
-
-
Field Summary
Fields Modifier and Type Field Description static String
MESSAGE_ID
static String
NAME
static String
REQUEST_TRACE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(MessageListener newListener)
registers a new SOAPMessageListener for this endpointWebServiceEndpoint
getDescriptor()
Return the deployment descriptors associated with this endpoint.String
getEndpointSelector()
EndpointType
getEndpointType()
TransportType
getTransport()
Returns the Transport typeboolean
hasListeners()
Returns true if this endpoint has listeners registeredvoid
removeListener(MessageListener listener)
unregiters a SOAPMessageListener for this endpointvoid
setDescriptor(WebServiceEndpoint endpointDesc)
Set the WebServiceEndpoint DOL descriptor
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
MESSAGE_ID
public static final String MESSAGE_ID
- See Also:
- Constant Field Values
-
REQUEST_TRACE
public static final String REQUEST_TRACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEndpointSelector
public String getEndpointSelector()
- Specified by:
getEndpointSelector
in interfaceEndpoint
- Returns:
- the endpoint URL as a string. This is the URL web service clients use to invoke the endpoint.
-
getEndpointType
public EndpointType getEndpointType()
- Specified by:
getEndpointType
in interfaceEndpoint
- Returns:
- the endpoint type
-
getTransport
public TransportType getTransport()
Returns the Transport type- Specified by:
getTransport
in interfaceEndpoint
-
addListener
public void addListener(MessageListener newListener)
registers a new SOAPMessageListener for this endpoint- Specified by:
addListener
in interfaceEndpoint
- Parameters:
newListener
- instance to register.
-
removeListener
public void removeListener(MessageListener listener)
unregiters a SOAPMessageListener for this endpoint- Specified by:
removeListener
in interfaceEndpoint
- Parameters:
listener
- instance to unregister.
-
hasListeners
public boolean hasListeners()
Returns true if this endpoint has listeners registered- Returns:
- true if at least one listener is registered
-
getDescriptor
public WebServiceEndpoint getDescriptor()
Return the deployment descriptors associated with this endpoint.- Specified by:
getDescriptor
in interfaceEndpoint
-
setDescriptor
public void setDescriptor(WebServiceEndpoint endpointDesc)
Set the WebServiceEndpoint DOL descriptor
-
-