T - public class WSEndpointCollectionBasedMOMListener<T extends MOMRegistrationAware> extends Object implements com.sun.xml.ws.api.server.LazyMOMProvider.DefaultScopeChangeListener
LazyMOMProvider.DefaultScopeChangeListener for manager factories handling WSEndpoint instances.| Constructor and Description |
|---|
WSEndpointCollectionBasedMOMListener(Object lock,
String registrationName,
Map<com.sun.xml.ws.api.server.WSEndpoint,T> registrationAwareMap) |
WSEndpointCollectionBasedMOMListener(String registrationName,
Map<com.sun.xml.ws.api.server.WSEndpoint,T> registrationAwareMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRegisterAtMOM()
Returns an indication whether a object can be directly registered at
ManagedObjectManager. |
void |
initialize()
Initializes this listener.
|
void |
registerAtMOM(MOMRegistrationAware momRegistrationAware,
org.glassfish.gmbal.ManagedObjectManager managedObjectManager) |
void |
registerAtMOM(MOMRegistrationAware momRegistrationAware,
com.sun.xml.ws.api.server.WSEndpoint wsEndpoint) |
void |
scopeChanged(com.sun.xml.ws.api.server.LazyMOMProvider.Scope scope) |
void |
unregisterFromMOM(MOMRegistrationAware momRegistrationAware,
org.glassfish.gmbal.ManagedObjectManager managedObjectManager) |
void |
unregisterFromMOM(MOMRegistrationAware momRegistrationAware,
com.sun.xml.ws.api.server.WSEndpoint wsEndpoint) |
public WSEndpointCollectionBasedMOMListener(String registrationName, Map<com.sun.xml.ws.api.server.WSEndpoint,T> registrationAwareMap)
public void initialize()
LazyMOMProvider.public boolean canRegisterAtMOM()
ManagedObjectManager.true if a object can be registered, false otherwisepublic void registerAtMOM(MOMRegistrationAware momRegistrationAware, com.sun.xml.ws.api.server.WSEndpoint wsEndpoint)
public void registerAtMOM(MOMRegistrationAware momRegistrationAware, org.glassfish.gmbal.ManagedObjectManager managedObjectManager)
public void scopeChanged(com.sun.xml.ws.api.server.LazyMOMProvider.Scope scope)
scopeChanged in interface com.sun.xml.ws.api.server.LazyMOMProvider.ScopeChangeListenerpublic void unregisterFromMOM(MOMRegistrationAware momRegistrationAware, org.glassfish.gmbal.ManagedObjectManager managedObjectManager)
public void unregisterFromMOM(MOMRegistrationAware momRegistrationAware, com.sun.xml.ws.api.server.WSEndpoint wsEndpoint)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.