|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.ejb3metadata.xml.struct.LifeCycleCallback
public class LifeCycleCallback
This class defines a life cycle callback that is described in an XML DD. It is used for post-construct, pre-destroy, pre-passivate, etc.
Field Summary | |
---|---|
static java.lang.String |
POST_CONSTRUCT
Post construct. |
static java.lang.String |
PRE_DESTROY
Pre Destroy. |
Constructor Summary | |
---|---|
LifeCycleCallback()
|
Method Summary | |
---|---|
java.lang.String |
getClassName()
Gets the class of this callback. |
java.lang.String |
getMethod()
Gets the method of the class for the callback. |
void |
setClassName(java.lang.String className)
Sets the class of the callback. |
void |
setMethod(java.lang.String method)
Sets the method name of the callback's class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String POST_CONSTRUCT
public static final java.lang.String PRE_DESTROY
Constructor Detail |
---|
public LifeCycleCallback()
Method Detail |
---|
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- the name of the class.public java.lang.String getMethod()
public void setMethod(java.lang.String method)
method
- the method name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |