javax.ejb
Class TimerConfig

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

public class TimerConfig
extends java.lang.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.


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

Constructor Detail

TimerConfig

public TimerConfig()

TimerConfig

public TimerConfig(java.io.Serializable info,
                   boolean persistent)
Method Detail

setInfo

public void setInfo(java.io.Serializable i)

getInfo

public java.io.Serializable getInfo()

setPersistent

public void setPersistent(boolean p)

isPersistent

public boolean isPersistent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34