MQPoolServicesEventListener


public interface MQPoolServicesEventListener
extends Object
Note:
Normally, applications do not use this interface.

MQPoolServicesEventListener is for implementation by providers of default ConnectionManagers. When an MQPoolServicesEventListener is registered with an MQPoolServices object, the event listener receives an event whenever an MQPoolToken is added to, or removed from, the set of MQPoolTokens that MQEnvironment manages. It also receives an event whenever the default ConnectionManager changes.

See also MQPoolServices and MQPoolServicesEvent.

Methods

defaultConnectionManagerChanged
public void defaultConnectionManagerChanged(MQPoolServicesEvent event)

Called when the default ConnectionManager is set. The set of MQPoolTokens will have been cleared.

tokenAdded
public void tokenAdded(MQPoolServicesEvent event)

Called when an MQPoolToken is added to the set.

tokenRemoved
public void tokenRemoved(MQPoolServicesEvent event)

Called when an MQPoolToken is removed from the set.



© IBM Corporation 1997, 2002. All Rights Reserved