FileDocCategorySizeDatePackage
LifecycleCallback.javaAPI DocJBoss 4.2.12250Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.metamodel

LifecycleCallback

public class LifecycleCallback extends Object
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.
author
Carlo de Wolf
version
$Revision: $

Fields Summary
private String
lifecycleCallbackClass
private String
lifecycleCallbackMethod
Constructors Summary
Methods Summary
public java.lang.StringgetLifecycleCallbackClass()

      return lifecycleCallbackClass;
   
public java.lang.StringgetLifecycleCallbackMethod()

      return lifecycleCallbackMethod;
   
public voidsetLifecycleCallbackClass(java.lang.String lifecycleCallbackClass)

      this.lifecycleCallbackClass = lifecycleCallbackClass;
   
public voidsetLifecycleCallbackMethod(java.lang.String lifecycleCallbackMethod)

      this.lifecycleCallbackMethod = lifecycleCallbackMethod;