com.ibm.mm.beans
Class CMBDataRequestSupport
java.lang.Object
|
+--com.ibm.mm.beans.CMBDataRequestSupport
- All Implemented Interfaces:
- java.io.Serializable
- public class CMBDataRequestSupport
- extends java.lang.Object
- implements java.io.Serializable
This is a utility class that can be used by beans that broadcast
CMBDataRequestEvents.
- Since:
- 6.1
- See Also:
CMBDataRequestEvent
,
CMBDataRequestListener
, Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMBDataRequestSupport
public CMBDataRequestSupport()
- Constructor. This constructor can be used by non-serializable source. The
event notificiation method used by that source then should be the one with
a CMBDataRequestEvent arguement.
CMBDataRequestSupport
public CMBDataRequestSupport(java.lang.Object source)
- Constructor.
- Parameters:
source
- the bean or object to be given as the source for the
CMBDataRequestEvent
addCMBDataRequestListener
public void addCMBDataRequestListener(CMBDataRequestListener listener)
- CMBDataRequestEvent registration method.
It ignores a registration request if the listener is already registered.
- Parameters:
listener
- listener to be registered
removeCMBDataRequestListener
public void removeCMBDataRequestListener(CMBDataRequestListener listener)
- CMBDataRequestEvent unregistration method.
- Parameters:
listener
- listener to be unregistered
fireCMBDataRequest
public void fireCMBDataRequest(CMBDataRequestEvent evt)
- CMBDataRequestEvent notification method. This method can be used by
non-serializable source which uses this class zero arguement constructor.
The event firing order is based on the order of registration.
- Parameters:
evt
- the CMBDataRequestEvent
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.