org.jboss.ejb3.metamodel
Class LifecycleCallback

java.lang.Object
  extended by org.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.

Version:
$Revision: $
Author:
Carlo de Wolf

Constructor Summary
LifecycleCallback()
           
 
Method Summary
 String getLifecycleCallbackClass()
           
 String getLifecycleCallbackMethod()
           
 void setLifecycleCallbackClass(String lifecycleCallbackClass)
           
 void setLifecycleCallbackMethod(String lifecycleCallbackMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleCallback

public LifecycleCallback()
Method Detail

getLifecycleCallbackClass

public String getLifecycleCallbackClass()

setLifecycleCallbackClass

public void setLifecycleCallbackClass(String lifecycleCallbackClass)

getLifecycleCallbackMethod

public String getLifecycleCallbackMethod()

setLifecycleCallbackMethod

public void setLifecycleCallbackMethod(String lifecycleCallbackMethod)


Copyright © 2009 JBoss Inc.. All Rights Reserved.