EJB 3.1 API 1.0.1.Final

javax.ejb
Class TimerConfig

java.lang.Object
  extended by javax.ejb.TimerConfig

public class TimerConfig
extends Object

TimerConfig is used to specify additional timer configuration settings during timer creation.

The info object represents a serializable object made available to corresponding timer callbacks. It is optional and defaults to null.

The persistent property determines whether the corresponding timer has a lifetime that spans the JVM in which it was created. It is optional and defaults to true.

Since:
3.1
Version:
$Revision: 107909 $
Author:
Carlo de Wolf

Constructor Summary
TimerConfig()
           
TimerConfig(Serializable info, boolean persistent)
           
 
Method Summary
 Serializable getInfo()
           
 boolean isPersistent()
           
 void setInfo(Serializable i)
           
 void setPersistent(boolean p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerConfig

public TimerConfig()

TimerConfig

public TimerConfig(Serializable info,
                   boolean persistent)
Method Detail

getInfo

public Serializable getInfo()

isPersistent

public boolean isPersistent()

setInfo

public void setInfo(Serializable i)

setPersistent

public void setPersistent(boolean p)

EJB 3.1 API 1.0.1.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.