Copyright @ 2001 SAP. All Rights Reserved.

com.sap.util.monitor.jarm
Class JarmRegistration

java.lang.Object
  |
  +--com.sap.util.monitor.jarm.JarmRegistration

public class JarmRegistration
extends java.lang.Object

This class provides the methods to register and deregister implementations of the communication partner interfaces.


Constructor Summary
JarmRegistration()
           
 
Method Summary
static boolean deRegisterPartner(java.lang.String partnerName)
          method to deregister a communication partner
static boolean registerPartner(java.lang.String partnerName, IJarmListener listener)
          method to register an implementation of the IJarmListener interface
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarmRegistration

public JarmRegistration()
Method Detail

registerPartner

public static boolean registerPartner(java.lang.String partnerName,
                                      IJarmListener listener)
method to register an implementation of the IJarmListener interface
Parameters:
partnerName - name of the communication partner (here: the listener); must be unique because different communication partners must have different names
listener - implementation of the listener interface
Returns:
true -> communication partner registered successfully
false -> communication partner with the same name was already registered

deRegisterPartner

public static boolean deRegisterPartner(java.lang.String partnerName)
method to deregister a communication partner
Parameters:
partnerName - name of a communication partner, which was registered before
Returns:
true -> communication partner deregistered successfully
false -> communication partner with the same name was not registered

Copyright @ 2001 SAP. All Rights Reserved.