|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.aglet.event.AgletEventListener
The aglet event listener class is a container class for all aglet related listener. It is not normally used by the aglet programmers.
Constructor Summary | |
AgletEventListener()
|
|
AgletEventListener(CloneListener l1,
CloneListener l2)
Constructs an AgletEventlistener object with specified two clone listener objects. |
|
AgletEventListener(MobilityListener l1,
MobilityListener l2)
Constructs an AgletEventlistener object with specified two mobility listener objects. |
|
AgletEventListener(PersistencyListener l1,
PersistencyListener l2)
Constructs an AgletEventlistener object with specified two persistency listener objects. |
Method Summary | |
void |
addCloneListener(CloneListener listener)
Adds the specified clone listener object |
void |
addMobilityListener(MobilityListener listener)
Adds the specified mobility listener object |
void |
addPersistencyListener(PersistencyListener listener)
Adds the specified persistency listener object |
void |
onActivation(PersistencyEvent ev)
Calls the onActivation methods on the listers with the specified persistency event. |
void |
onArrival(MobilityEvent ev)
Calls the onArrival methods on the listers with the specified mobility event. |
void |
onClone(CloneEvent ev)
Calls the onClone methods on the listers with the specified Clone event. |
void |
onCloned(CloneEvent ev)
Calls the onCloned methods on the listers with the specified Clone event. |
void |
onCloning(CloneEvent ev)
Calls the onCloning methods on the listers with the specified Clone event. |
void |
onDeactivating(PersistencyEvent ev)
Calls the onDeactivating methods on the listers with the specified persistency event. |
void |
onDispatching(MobilityEvent ev)
Calls the onDispatching methods on the listers with the specified mobility event. |
void |
onReverting(MobilityEvent ev)
Calls the onReverting methods on the listers with the specified mobility event. |
void |
removeCloneListener(CloneListener listener)
Removes the specified clone listener object |
void |
removeMobilityListener(MobilityListener listener)
Removes the specified mobility listener object |
void |
removePersistencyListener(PersistencyListener listener)
Removes the specified persistency listener object |
int |
size()
Returns the number of listeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AgletEventListener()
public AgletEventListener(CloneListener l1, CloneListener l2)
public AgletEventListener(MobilityListener l1, MobilityListener l2)
public AgletEventListener(PersistencyListener l1, PersistencyListener l2)
Method Detail |
public void addCloneListener(CloneListener listener)
public void addMobilityListener(MobilityListener listener)
public void addPersistencyListener(PersistencyListener listener)
public void onActivation(PersistencyEvent ev)
onActivation
in interface PersistencyListener
public void onArrival(MobilityEvent ev)
onArrival
in interface MobilityListener
public void onClone(CloneEvent ev)
onClone
in interface CloneListener
public void onCloned(CloneEvent ev)
onCloned
in interface CloneListener
public void onCloning(CloneEvent ev)
onCloning
in interface CloneListener
public void onDeactivating(PersistencyEvent ev)
onDeactivating
in interface PersistencyListener
public void onDispatching(MobilityEvent ev)
onDispatching
in interface MobilityListener
public void onReverting(MobilityEvent ev)
onReverting
in interface MobilityListener
public void removeCloneListener(CloneListener listener)
public void removeMobilityListener(MobilityListener listener)
public void removePersistencyListener(PersistencyListener listener)
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |