org.apache.openjpa.event
Class BeanLifecycleCallbacks
java.lang.Object
org.apache.openjpa.event.MethodLifecycleCallbacks
org.apache.openjpa.event.BeanLifecycleCallbacks
- All Implemented Interfaces:
- LifecycleCallbacks
public class BeanLifecycleCallbacks
- extends MethodLifecycleCallbacks
Performs a callback method on a cached bean instance.
- Author:
- Steve Kim
Method Summary |
void |
makeCallback(java.lang.Object obj,
java.lang.Object rel,
int eventType)
Invoke the callback for the given event type on the given instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BeanLifecycleCallbacks
public BeanLifecycleCallbacks(java.lang.Class cls,
java.lang.String method,
boolean arg)
- Constructor. Make the callback on an instance of the given type.
BeanLifecycleCallbacks
public BeanLifecycleCallbacks(java.lang.Class cls,
java.lang.reflect.Method method,
boolean arg)
- Constructor. Make the callback on an instance of the given type.
makeCallback
public void makeCallback(java.lang.Object obj,
java.lang.Object rel,
int eventType)
throws java.lang.Exception
- Description copied from interface:
LifecycleCallbacks
- Invoke the callback for the given event type on the given instance.
- Specified by:
makeCallback
in interface LifecycleCallbacks
- Overrides:
makeCallback
in class MethodLifecycleCallbacks
- Throws:
java.lang.Exception
Copyright © 2006 Apache Software Foundation. All Rights Reserved.