com.sun.xml.ws.commons
Class WSEndpointCollectionBasedMOMListener<T extends MOMRegistrationAware>
java.lang.Object
com.sun.xml.ws.commons.WSEndpointCollectionBasedMOMListener<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- LazyMOMProvider.DefaultScopeChangeListener, LazyMOMProvider.ScopeChangeListener
public class WSEndpointCollectionBasedMOMListener<T extends MOMRegistrationAware>
- extends Object
- implements LazyMOMProvider.DefaultScopeChangeListener
Default implementation of LazyMOMProvider.DefaultScopeChangeListener for manager factories handling WSEndpoint instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSEndpointCollectionBasedMOMListener
public WSEndpointCollectionBasedMOMListener(String registrationName,
Map<WSEndpoint,T> registrationAwareMap)
WSEndpointCollectionBasedMOMListener
public WSEndpointCollectionBasedMOMListener(Object lock,
String registrationName,
Map<WSEndpoint,T> registrationAwareMap)
initialize
public void initialize()
- Initializes this listener. Currently this means that listener is registering itself at
LazyMOMProvider.
canRegisterAtMOM
public boolean canRegisterAtMOM()
- Returns an indication whether a object can be directly registered at
ManagedObjectManager.
- Returns:
true if a object can be registered, false otherwise
registerAtMOM
public void registerAtMOM(MOMRegistrationAware momRegistrationAware,
WSEndpoint wsEndpoint)
registerAtMOM
public void registerAtMOM(MOMRegistrationAware momRegistrationAware,
ManagedObjectManager managedObjectManager)
scopeChanged
public void scopeChanged(LazyMOMProvider.Scope scope)
- Specified by:
scopeChanged in interface LazyMOMProvider.ScopeChangeListener
unregisterFromMOM
public void unregisterFromMOM(MOMRegistrationAware momRegistrationAware,
ManagedObjectManager managedObjectManager)
unregisterFromMOM
public void unregisterFromMOM(MOMRegistrationAware momRegistrationAware,
WSEndpoint wsEndpoint)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.