All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.aglet.event.AgletEventListener

java.lang.Object
   |
   +----com.ibm.aglet.event.AgletEventListener

public class AgletEventListener
extends Object
implements CloneListener, MobilityListener, PersistencyListener
The aglet event listener class is a container class for all aglet related listener. It is not normally used by the aglet programmers.


Constructor Index

 o AgletEventListener()
 o AgletEventListener(CloneListener, CloneListener)
Constructs an AgletEventlistener object with specified two clone listener objects.
 o AgletEventListener(MobilityListener, MobilityListener)
Constructs an AgletEventlistener object with specified two mobility listener objects.
 o AgletEventListener(PersistencyListener, PersistencyListener)
Constructs an AgletEventlistener object with specified two persistency listener objects.

Method Index

 o addCloneListener(CloneListener)
Adds the specified clone listener object
 o addMobilityListener(MobilityListener)
Adds the specified mobility listener object
 o addPersistencyListener(PersistencyListener)
Adds the specified persistency listener object
 o onActivation(PersistencyEvent)
Calls the onActivation methods on the listers with the specified persistency event.
 o onArrival(MobilityEvent)
Calls the onArrival methods on the listers with the specified mobility event.
 o onClone(CloneEvent)
Calls the onClone methods on the listers with the specified Clone event.
 o onCloned(CloneEvent)
Calls the onCloned methods on the listers with the specified Clone event.
 o onCloning(CloneEvent)
Calls the onCloning methods on the listers with the specified Clone event.
 o onDeactivating(PersistencyEvent)
Calls the onDeactivating methods on the listers with the specified persistency event.
 o onDispatching(MobilityEvent)
Calls the onDispatching methods on the listers with the specified mobility event.
 o onReverting(MobilityEvent)
Calls the onReverting methods on the listers with the specified mobility event.
 o removeCloneListener(CloneListener)
Removes the specified clone listener object
 o removeMobilityListener(MobilityListener)
Removes the specified mobility listener object
 o removePersistencyListener(PersistencyListener)
Removes the specified persistency listener object
 o size()
Returns the number of listeners

Constructors

 o AgletEventListener
 public AgletEventListener(MobilityListener l1,
                           MobilityListener l2)
Constructs an AgletEventlistener object with specified two mobility listener objects.

 o AgletEventListener
 public AgletEventListener(CloneListener l1,
                           CloneListener l2)
Constructs an AgletEventlistener object with specified two clone listener objects.

 o AgletEventListener
 public AgletEventListener(PersistencyListener l1,
                           PersistencyListener l2)
Constructs an AgletEventlistener object with specified two persistency listener objects.

 o AgletEventListener
 public AgletEventListener()

Methods

 o size
 public int size()
Returns the number of listeners

 o addCloneListener
 public void addCloneListener(CloneListener listener)
Adds the specified clone listener object

 o addMobilityListener
 public void addMobilityListener(MobilityListener listener)
Adds the specified mobility listener object

 o addPersistencyListener
 public void addPersistencyListener(PersistencyListener listener)
Adds the specified persistency listener object

 o removeCloneListener
 public void removeCloneListener(CloneListener listener)
Removes the specified clone listener object

 o removeMobilityListener
 public void removeMobilityListener(MobilityListener listener)
Removes the specified mobility listener object

 o removePersistencyListener
 public void removePersistencyListener(PersistencyListener listener)
Removes the specified persistency listener object

 o onCloning
 public void onCloning(CloneEvent ev)
Calls the onCloning methods on the listers with the specified Clone event.

 o onClone
 public void onClone(CloneEvent ev)
Calls the onClone methods on the listers with the specified Clone event.

 o onCloned
 public void onCloned(CloneEvent ev)
Calls the onCloned methods on the listers with the specified Clone event.

 o onDispatching
 public void onDispatching(MobilityEvent ev)
Calls the onDispatching methods on the listers with the specified mobility event.

 o onReverting
 public void onReverting(MobilityEvent ev)
Calls the onReverting methods on the listers with the specified mobility event.

 o onArrival
 public void onArrival(MobilityEvent ev)
Calls the onArrival methods on the listers with the specified mobility event.

 o onDeactivating
 public void onDeactivating(PersistencyEvent ev)
Calls the onDeactivating methods on the listers with the specified persistency event.

 o onActivation
 public void onActivation(PersistencyEvent ev)
Calls the onActivation methods on the listers with the specified persistency event.


All Packages  Class Hierarchy  This Package  Previous  Next  Index