org.apache.openejb.jee
Class LifecycleCallback
java.lang.Object
org.apache.openejb.jee.LifecycleCallback
- All Implemented Interfaces:
- CallbackMethod
public class LifecycleCallback
- extends Object
- implements CallbackMethod
The lifecycle-callback type specifies a method on a
class to be called when a lifecycle event occurs.
Note that each class may have only one lifecycle callback
method for any given event and that the method may not
be overloaded.
If the lifefycle-callback-class element is missing then
the class defining the callback is assumed to be the
component class in scope at the place in the descriptor
in which the callback definition appears.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lifecycleCallbackClass
protected String lifecycleCallbackClass
lifecycleCallbackMethod
protected String lifecycleCallbackMethod
LifecycleCallback
public LifecycleCallback()
LifecycleCallback
public LifecycleCallback(Method method)
LifecycleCallback
public LifecycleCallback(String lifecycleCallbackClass,
String lifecycleCallbackMethod)
getLifecycleCallbackClass
public String getLifecycleCallbackClass()
setLifecycleCallbackClass
public void setLifecycleCallbackClass(String value)
getLifecycleCallbackMethod
public String getLifecycleCallbackMethod()
setLifecycleCallbackMethod
public void setLifecycleCallbackMethod(String value)
getClassName
public String getClassName()
- Specified by:
getClassName
in interface CallbackMethod
getMethodName
public String getMethodName()
- Specified by:
getMethodName
in interface CallbackMethod
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.