Package | Description |
---|---|
org.apache.openjpa.event |
OpenJPA Events
|
org.apache.openjpa.meta |
OpenJPA Metadata
|
org.apache.openjpa.persistence |
OpenJPA JPA
|
Modifier and Type | Class and Description |
---|---|
class |
BeanLifecycleCallbacks
Performs a callback method on a cached bean instance.
|
class |
MethodLifecycleCallbacks
Callback adapter that invokes a callback method via reflection.
|
Modifier and Type | Method and Description |
---|---|
LifecycleCallbacks[] |
LifecycleMetaData.getCallbacks(int eventType)
Return all callbacks for the given event type, including superclass
callbacks if appropriate.
|
LifecycleCallbacks[] |
LifecycleMetaData.getDeclaredCallbacks(int eventType)
Return the declared callbacks for the given event type.
|
LifecycleCallbacks[] |
LifecycleMetaData.getNonPCSuperclassCallbacks(int eventType)
Return the callbacks for the non-PC superclass.
|
Modifier and Type | Method and Description |
---|---|
void |
LifecycleMetaData.setDeclaredCallbacks(int eventType,
LifecycleCallbacks[] callbacks,
int highPriority)
Set the callbacks for the given event type.
|
void |
LifecycleMetaData.setNonPCSuperclassCallbacks(int eventType,
LifecycleCallbacks[] callbacks,
int highPriority)
Set the callbacks for the given event type for non-persistent
superclass.
|
Modifier and Type | Method and Description |
---|---|
static void |
MetaDataParsers.validateMethodsForSameCallback(java.lang.Class cls,
java.util.Collection<LifecycleCallbacks> callbacks,
java.lang.reflect.Method method,
MetaDataTag tag,
OpenJPAConfiguration conf,
Log log)
Validate that the given listener class does not have multiple methods
listening for the same lifecycle event, which is forbidden by the spec.
|
Constructor and Description |
---|
PersistenceListenerAdapter(LifecycleCallbacks[][] callbacks) |
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.