Package | Description |
---|---|
org.apache.openjpa.event |
OpenJPA Events
This package provides some interfaces and useful implementations
for OpenJPA's event notification framework.
|
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
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(Class cls,
Collection<LifecycleCallbacks> callbacks,
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–2015 Apache Software Foundation. All rights reserved.