|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ejb.TimerConfig
public class TimerConfig
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()
Return the info object made available to timer callbacks. |
boolean |
isPersistent()
Return whether the timer is persistent. |
void |
setInfo(java.io.Serializable i)
Set the info object made available to timer callbacks. |
void |
setPersistent(boolean p)
Specify whether the timer is persistent. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimerConfig()
public TimerConfig(java.io.Serializable info, boolean persistent)
Method Detail |
---|
public void setInfo(java.io.Serializable i)
info
object made available to timer callbacks.
i
- the info objectpublic java.io.Serializable getInfo()
info
object made available to timer callbacks.
public void setPersistent(boolean p)
p
- boolean indicating whether the timer is to be persistent.public boolean isPersistent()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41