com.sap.ip.me.api.sync
Class SyncEventRegistry

java.lang.Object
  extended bycom.sap.ip.me.api.sync.SyncEventRegistry

public abstract class SyncEventRegistry
extends java.lang.Object

Handles a set of sync event listener objects.

Author:
SAP

Field Summary
protected static Trace trace
           
 
Constructor Summary
SyncEventRegistry()
           
 
Method Summary
abstract  void addSyncEventListener(SyncEventListener l)
          Adds the specified listener to receive sync event events from this bean.
static SyncEventRegistry getInstance()
          Gets the one and only instance of the SyncEventRegistry class
abstract  boolean isRegistered(SyncEventListener l)
          Determines if the given SyncEventListener is alredy registered
abstract  void removeSyncEventListener(SyncEventListener l)
          Removes the specified listener so that it no longer receives sync event events from this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trace

protected static final Trace trace
Constructor Detail

SyncEventRegistry

public SyncEventRegistry()
Method Detail

getInstance

public static SyncEventRegistry getInstance()
Gets the one and only instance of the SyncEventRegistry class

Returns:
The SyncEventRegistry singleton

isRegistered

public abstract boolean isRegistered(SyncEventListener l)
Determines if the given SyncEventListener is alredy registered

Parameters:
l - the SyncEventListener to be checked.
Returns:
true if the given Event listener is already registered
See Also:
#SyncEventListener, addSyncEventListener(com.sap.ip.me.api.sync.SyncEventListener), removeSyncEventListener(com.sap.ip.me.api.sync.SyncEventListener)

addSyncEventListener

public abstract void addSyncEventListener(SyncEventListener l)
Adds the specified listener to receive sync event events from this bean.

Parameters:
l - the SyncEventListener to be added.
Throws:
java.lang.IllegalArgumentException - The specified listener is null.
See Also:
SyncEvent, SyncEventListener, removeSyncEventListener(com.sap.ip.me.api.sync.SyncEventListener)

removeSyncEventListener

public abstract void removeSyncEventListener(SyncEventListener l)
Removes the specified listener so that it no longer receives sync event events from this bean.

Parameters:
l - the SyncEventListener to be removed.
See Also:
SyncEvent, SyncEventListener, addSyncEventListener(com.sap.ip.me.api.sync.SyncEventListener)


Copyright © 2005 SAP AG. All Rights Reserved.