|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.LifecycleListenerForClass
public class LifecycleListenerForClass
Wrapper for a LifecycleListener for an array of classes. If the classes is null, applies to all classes.
| Constructor Summary | |
|---|---|
LifecycleListenerForClass(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 |
| Constructor Detail |
|---|
public LifecycleListenerForClass(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
listener - The listenerclasses - The classes supported by the listener| Method 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 | |||||||||