org.ow2.util.ee.metadata.common.api.xml.struct
Interface ILifeCycleCallback

All Superinterfaces:
Serializable

public interface ILifeCycleCallback
extends Serializable

Interface used for lifecycle callback elements.

Author:
Florent Benoit

Field Summary
static String POST_ACTIVATE
          Name of this element.
static String POST_CONSTRUCT
          Name of this element.
static String PRE_DESTROY
          Name of this element.
static String PRE_PASSIVATE
          Name of this element.
 
Method Summary
 String getLifecycleCallbackClass()
           
 String getLifecycleCallbackMethod()
           
 void setLifecycleCallbackClass(String lifecycleCallbackClass)
          Sets the name of the class.
 void setMethodName(String lifecycleCallbackMethod)
          Sets the name of the method.
 

Field Detail

POST_ACTIVATE

static final String POST_ACTIVATE
Name of this element.

See Also:
Constant Field Values

POST_CONSTRUCT

static final String POST_CONSTRUCT
Name of this element.

See Also:
Constant Field Values

PRE_DESTROY

static final String PRE_DESTROY
Name of this element.

See Also:
Constant Field Values

PRE_PASSIVATE

static final String PRE_PASSIVATE
Name of this element.

See Also:
Constant Field Values
Method Detail

setLifecycleCallbackClass

void setLifecycleCallbackClass(String lifecycleCallbackClass)
Sets the name of the class.

Parameters:
lifecycleCallbackClass - the name of the class

getLifecycleCallbackClass

String getLifecycleCallbackClass()
Returns:
the class value.

setMethodName

void setMethodName(String lifecycleCallbackMethod)
Sets the name of the method.

Parameters:
lifecycleCallbackMethod - the name of the method

getLifecycleCallbackMethod

String getLifecycleCallbackMethod()
Returns:
the method name.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.