FileDocCategorySizeDatePackage
WebServiceEngine.javaAPI DocGlassfish v2 API4147Fri May 04 22:32:42 BST 2007com.sun.enterprise.webservice.monitoring

WebServiceEngine

public interface WebServiceEngine
This interface holds all behaviour associated with the web service engine. For instance, it gives a list of all registered endoints, provide hooks to register listener interfaces for endpoints creation/deletion and so on...
author
Jerome Dochez

Fields Summary
Constructors Summary
Methods Summary
public voidaddAuthListener(AuthenticationListener listener)
Register a new listener interface to receive authentication notification.

param
listener to add

public voidaddLifecycleListener(EndpointLifecycleListener listener)
Register a new listener interface to receive notification of web service endpoint creation and deletion

param
listener instance to register

public EndpointgetEndpoint(java.lang.String endpointSelector)

return
an Endpoint instance if the supplied selector is the endpoint's invocation selector. In case of HTTP based web services, the selector is the endpoint URL
param
endpointSelector the endpoint selector

public java.util.IteratorgetEndpoints()

return
an iterator of all the registered active endpoints in the engine.

public GlobalMessageListenergetGlobalMessageListener()
get the global listener interface or null if none is set.

return
the global message listener

public voidremoveAuthListener(AuthenticationListener listener)
Unregister a listener interface

param
listener to remove

public voidremoveLifecycleListener(EndpointLifecycleListener listener)
Unregister a listener interface

param
listener to unregister.

public voidsetGlobalMessageListener(GlobalMessageListener listener)
Set the unique global listener interface to trace all web service requests or responses. Set to null if no tracing is needed

param
listener to register