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 StringMESSAGE_IDstatic StringNAMEstatic StringREQUEST_TRACE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(MessageListener newListener)registers a new SOAPMessageListener for this endpointWebServiceEndpointgetDescriptor()Return the deployment descriptors associated with this endpoint.StringgetEndpointSelector()EndpointTypegetEndpointType()TransportTypegetTransport()Returns the Transport typebooleanhasListeners()Returns true if this endpoint has listeners registeredvoidremoveListener(MessageListener listener)unregiters a SOAPMessageListener for this endpointvoidsetDescriptor(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:
getEndpointSelectorin 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:
getEndpointTypein interfaceEndpoint- Returns:
- the endpoint type
-
getTransport
public TransportType getTransport()
Returns the Transport type- Specified by:
getTransportin interfaceEndpoint
-
addListener
public void addListener(MessageListener newListener)
registers a new SOAPMessageListener for this endpoint- Specified by:
addListenerin interfaceEndpoint- Parameters:
newListener- instance to register.
-
removeListener
public void removeListener(MessageListener listener)
unregiters a SOAPMessageListener for this endpoint- Specified by:
removeListenerin 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:
getDescriptorin interfaceEndpoint
-
setDescriptor
public void setDescriptor(WebServiceEndpoint endpointDesc)
Set the WebServiceEndpoint DOL descriptor
-
-