|
|||||||||
| 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 |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AgletEventListener(MobilityListener l1,
MobilityListener l2)
public AgletEventListener(CloneListener l1,
CloneListener l2)
public AgletEventListener(PersistencyListener l1,
PersistencyListener l2)
public AgletEventListener()
| Method Detail |
public int size()
public void addCloneListener(CloneListener listener)
public void addMobilityListener(MobilityListener listener)
public void addPersistencyListener(PersistencyListener listener)
public void removeCloneListener(CloneListener listener)
public void removeMobilityListener(MobilityListener listener)
public void removePersistencyListener(PersistencyListener listener)
public void onCloning(CloneEvent ev)
public void onClone(CloneEvent ev)
public void onCloned(CloneEvent ev)
public void onDispatching(MobilityEvent ev)
public void onReverting(MobilityEvent ev)
public void onArrival(MobilityEvent ev)
public void onDeactivating(PersistencyEvent ev)
public void onActivation(PersistencyEvent ev)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||