org.glassfish.webservices.monitoring
Class EndpointImpl

java.lang.Object
  extended by org.glassfish.webservices.monitoring.EndpointImpl
All Implemented Interfaces:
Endpoint
Direct Known Subclasses:
JAXRPCEndpointImpl, JAXWSEndpointImpl

public class EndpointImpl
extends java.lang.Object
implements Endpoint

Implementation of the endpoint interface

Author:
Jerome Dochez

Field Summary
static java.lang.String MESSAGE_ID
           
static java.lang.String NAME
           
static java.lang.String REQUEST_TRACE
           
 
Method Summary
 void addListener(MessageListener newListener)
          registers a new SOAPMessageListener for this endpoint
 WebServiceEndpoint getDescriptor()
          Return the deployment descriptors associated with this endpoint.
 java.lang.String getEndpointSelector()
           
 EndpointType getEndpointType()
           
 TransportType getTransport()
          Returns the Transport type
 boolean hasListeners()
          Returns true if this endpoint has listeners registered
 void removeListener(MessageListener listener)
          unregiters a SOAPMessageListener for this endpoint
 void setDescriptor(WebServiceEndpoint endpointDesc)
          Set the WebServiceEndpoint DOL descriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

MESSAGE_ID

public static final java.lang.String MESSAGE_ID
See Also:
Constant Field Values

REQUEST_TRACE

public static final java.lang.String REQUEST_TRACE
See Also:
Constant Field Values
Method Detail

getEndpointSelector

public java.lang.String getEndpointSelector()
Specified by:
getEndpointSelector in interface Endpoint
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 interface Endpoint
Returns:
the endpoint type

getTransport

public TransportType getTransport()
Returns the Transport type

Specified by:
getTransport in interface Endpoint

addListener

public void addListener(MessageListener newListener)
registers a new SOAPMessageListener for this endpoint

Specified by:
addListener in interface Endpoint
Parameters:
newListener - instance to register.

removeListener

public void removeListener(MessageListener listener)
unregiters a SOAPMessageListener for this endpoint

Specified by:
removeListener in interface Endpoint
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 interface Endpoint

setDescriptor

public void setDescriptor(WebServiceEndpoint endpointDesc)
Set the WebServiceEndpoint DOL descriptor



Copyright © 2012 GlassFish Community. All Rights Reserved.