org.apache.openjpa.event
public class BeanLifecycleCallbacks extends MethodLifecycleCallbacks
| Constructor and Description |
|---|
BeanLifecycleCallbacks(Class cls,
Method method,
boolean arg)
Constructor.
|
BeanLifecycleCallbacks(Class cls,
String method,
boolean arg,
Class type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
makeCallback(Object obj,
Object rel,
int eventType)
Invoke the callback for the given event type on the given instance.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
getCallbackMethod, getMethod, hasCallback, requiresArgument, toStringpublic BeanLifecycleCallbacks(Class cls, String method, boolean arg, Class type)
public void makeCallback(Object obj, Object rel, int eventType) throws Exception
LifecycleCallbacksmakeCallback in interface LifecycleCallbacksmakeCallback in class MethodLifecycleCallbacksExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class MethodLifecycleCallbacksIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class MethodLifecycleCallbacksIOExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.