Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.broker.config.proxy.AdministeredObjectListener

public interface AdministeredObjectListener
extends ListenerParent

User-written classes that implement this interface are stating that they can receive notifications from the Configuration Manager Proxy. Notifications are sent whenever objects for which the listener is registered is modified, deleted, or whenever a previously submitted request is processed.

In order to receive notifications, applications must first register their listener with each administered object for which they wish to receive notifications. Here is an example of how to do this:

     ConfigManagerConnectionParameters cmcp =
         MQConfigManagerConnectionParameters("localhost", 1414, "QMGR");
     ConfigManagerProxy cmp = ConfigManagerProxy.getInstance(cmcp);
     TopologyProxy t = cmp.getTopology();
     
     AdministeredObjectListener l = new MyAdministeredObjectListener();
     t.registerListener(l);
 

interface com.ibm.broker.config.proxy.AdministeredObjectListener

Responsibilities States that the implementing class is able to receive notifications from the Configuration Manager Proxy.
Internal Collaborators com.ibm.broker.config.proxy.CompletionCodeType
com.ibm.broker.config.proxy.AdministeredObject


 Change Activity:
 ---------- ----------- -------------  -------------------------------
 Reason:    Date:       Originator:    Comments:
 ---------- ----------- -------------  -------------------------------
 25103.1    2004-03-29  HDMPL          v6 Release

 

Method Index
Method Description
void processActionResponse(AdministeredObject, CompletionCodeType, List, Properties) States that the Configuration Manager has processed a request that previously originated from the current connection to the Configuration Manager.
void processDelete(AdministeredObject) States that the supplied AdministeredObject has been deleted on the Configuration Manager.
void processModify(AdministeredObject, List, List, List) States that the supplied Configuration Manager Administered Object has been modified by the current or another application.

Methods

processActionResponse

public void processActionResponse(AdministeredObject affectedObject,
                                  CompletionCodeType ccType,
                                  List bipMessages,
                                  Properties referenceProperties) 

States that the Configuration Manager has processed a request that previously originated from the current connection to the Configuration Manager. The parameters of this method call indicate the result of the command that was sent, and the original command for reference.

processDelete

public void processDelete(AdministeredObject deletedObject) 

States that the supplied AdministeredObject has been deleted on the Configuration Manager.

processModify

public void processModify(AdministeredObject affectedObject,
                          List changedAttributes,
                          List newChildren,
                          List removedChildren) 

States that the supplied Configuration Manager Administered Object has been modified by the current or another application.

Class Hierarchy All Classes All Fields and Methods