Enterprise Information Portal APIs

com.ibm.mm.beans
Class CMBSchemaRequestSupport

java.lang.Object
  |
  +--com.ibm.mm.beans.CMBSchemaRequestSupport
All Implemented Interfaces:
java.io.Serializable

public class CMBSchemaRequestSupport
extends java.lang.Object
implements java.io.Serializable

This is a utility class that can be used by beans that broadcast CMBSchemaRequestEvents.

Since:
6.1
See Also:
CMBSchemaRequestEvent, CMBSchemaRequestListener, Serialized Form

Constructor Summary
CMBSchemaRequestSupport()
          Constructor.
CMBSchemaRequestSupport(java.lang.Object source)
          Constructor.
 
Method Summary
 void addCMBSchemaRequestListener(CMBSchemaRequestListener listener)
          CMBSchemaRequestEvent registration method.
 void fireCMBSchemaRequest(CMBSchemaRequestEvent evt)
          CMBSchemaRequestEvent notification method.
 void fireCMBSchemaRequest(int id)
          CMBSchemaRequestEvent notification method.
 void fireCMBSchemaRequest(int id, java.lang.String[] data)
          CMBSchemaRequestEvent notification method, argument data provided.
 void removeCMBSchemaRequestListener(CMBSchemaRequestListener listener)
          CMBSchemaRequestEvent unregistration method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMBSchemaRequestSupport

public CMBSchemaRequestSupport()
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 CMBSchemaRequestEvent arguement.

CMBSchemaRequestSupport

public CMBSchemaRequestSupport(java.lang.Object source)
Constructor.
Parameters:
source - the bean or object to be given as the source for the CMBSchemaRequestEvent
Method Detail

addCMBSchemaRequestListener

public void addCMBSchemaRequestListener(CMBSchemaRequestListener listener)
CMBSchemaRequestEvent registration method. It ignores a registration request if the listener is already registered.
Parameters:
listener - listener to be registered

removeCMBSchemaRequestListener

public void removeCMBSchemaRequestListener(CMBSchemaRequestListener listener)
CMBSchemaRequestEvent unregistration method.
Parameters:
listener - listener to be unregistered

fireCMBSchemaRequest

public void fireCMBSchemaRequest(CMBSchemaRequestEvent evt)
CMBSchemaRequestEvent 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 CMBSchemaRequestEvent

fireCMBSchemaRequest

public void fireCMBSchemaRequest(int id)
CMBSchemaRequestEvent notification method.
Parameters:
id - the event type id

fireCMBSchemaRequest

public void fireCMBSchemaRequest(int id,
                                 java.lang.String[] data)
CMBSchemaRequestEvent notification method, argument data provided.
Parameters:
id - the event type id
data - array of argument data, can be either 1. an entity name String if id == CMB_REQUEST_ENTITY_ATTR_NAMES, or

EIP JavaBeans

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