com.ibm.aglet.event
Class PersistencyAdapter

java.lang.Object
  |
  +--com.ibm.aglet.event.PersistencyAdapter
All Implemented Interfaces:
java.util.EventListener, PersistencyListener, java.io.Serializable

public class PersistencyAdapter
extends java.lang.Object
implements PersistencyListener

The adapter which receives persistency events. This class is provided as convenience for easily creating listerns by extending this class and overriding only the methods of interest.

Version:
1.00 $Date: 2001/07/28 06:34:11 $
Author:
Misturu Oshima
See Also:
Serialized Form

Constructor Summary
PersistencyAdapter()
           
 
Method Summary
 void onActivation(PersistencyEvent event)
          Invoked just after the aglet was activated.
 void onDeactivating(PersistencyEvent event)
          Invoked when an aglet is attempted to deactivate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistencyAdapter

public PersistencyAdapter()
Method Detail

onActivation

public void onActivation(PersistencyEvent event)
Invoked just after the aglet was activated.
Specified by:
onActivation in interface PersistencyListener

onDeactivating

public void onDeactivating(PersistencyEvent event)
Invoked when an aglet is attempted to deactivate.
Specified by:
onDeactivating in interface PersistencyListener