|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.LifecycleListenerSpecification
Wrapper for a LifecycleListener for an array of classes. If the classes is null, applies to all classes.
Field Summary | |
static int |
EVENT_POST_ATTACH
post attach |
static int |
EVENT_POST_CLEAR
post clear |
static int |
EVENT_POST_CREATE
post create |
static int |
EVENT_POST_DELETE
post delete |
static int |
EVENT_POST_DETACH
post detach |
static int |
EVENT_POST_DIRTY
post dirty |
static int |
EVENT_POST_LOAD
post load |
static int |
EVENT_POST_STORE
post store |
static int |
EVENT_PRE_ATTACH
pre attach |
static int |
EVENT_PRE_CLEAR
pre clear |
static int |
EVENT_PRE_DELETE
pre delete |
static int |
EVENT_PRE_DETACH
pre detach |
static int |
EVENT_PRE_DIRTY
pre dirty |
static int |
EVENT_PRE_STORE
pre store |
Constructor Summary | |
LifecycleListenerSpecification(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
Constructor. |
Method Summary | |
boolean |
forClass(java.lang.Class cls)
Accessor for whether the listener supported the class. |
java.lang.Class[] |
getClasses()
Accessor for the classes in this specification |
javax.jdo.listener.InstanceLifecycleListener |
getListener()
Accessor for the listener for this specification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int EVENT_POST_CREATE
public static final int EVENT_POST_LOAD
public static final int EVENT_PRE_STORE
public static final int EVENT_POST_STORE
public static final int EVENT_PRE_CLEAR
public static final int EVENT_POST_CLEAR
public static final int EVENT_PRE_DELETE
public static final int EVENT_POST_DELETE
public static final int EVENT_PRE_DIRTY
public static final int EVENT_POST_DIRTY
public static final int EVENT_PRE_DETACH
public static final int EVENT_POST_DETACH
public static final int EVENT_PRE_ATTACH
public static final int EVENT_POST_ATTACH
Constructor Detail |
public LifecycleListenerSpecification(javax.jdo.listener.InstanceLifecycleListener listener, java.lang.Class[] classes)
listener
- The listenerclasses
- The classes supported by the listenerMethod Detail |
public javax.jdo.listener.InstanceLifecycleListener getListener()
public java.lang.Class[] getClasses()
public boolean forClass(java.lang.Class cls)
cls
- The class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |