Enterprise Information Portal APIs

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

Constructor Summary
CMBDataRequestSupport()
          Constructor.
CMBDataRequestSupport(java.lang.Object source)
          Constructor.
 
Method Summary
 void addCMBDataRequestListener(CMBDataRequestListener listener)
          CMBDataRequestEvent registration method.
 void fireCMBDataRequest(CMBDataRequestEvent evt)
          CMBDataRequestEvent notification method.
 void removeCMBDataRequestListener(CMBDataRequestListener listener)
          CMBDataRequestEvent unregistration method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.