org.objectweb.easybeans.component.quartz
Class EasyBeansJobDetailData

java.lang.Object
  extended by org.objectweb.easybeans.component.quartz.EasyBeansJobDetailData
All Implemented Interfaces:
java.io.Serializable

public class EasyBeansJobDetailData
extends java.lang.Object
implements java.io.Serializable

Data that are stored in the JobDetail. The data needs to be serializable.

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
private  java.lang.String containerId
          Container id.
private  java.lang.Integer easyBeansServerID
          Reference on the id of the EasyBeans server.
private  java.lang.String factoryName
          Factory name.
private  java.io.Serializable info
          Application information to be delivered along with the timer expiration notification.
private static long serialVersionUID
          Serial version UID for serializable classes.
private  Timer timer
          The timer object (that is transient).
 
Constructor Summary
EasyBeansJobDetailData()
           
 
Method Summary
protected  java.lang.String getContainerId()
           
 java.lang.Integer getEasyBeansServerID()
          Gets the Server ID of the EasyBeans instance.
 java.lang.String getFactoryName()
           
 java.io.Serializable getInfo()
           
 Timer getTimer()
          Gets the timer object.
 void setContainerId(java.lang.String containerId)
          Sets the container ID.
 void setEasyBeansServerID(java.lang.Integer easyBeansServerID)
          Sets the Server ID of the EasyBeans instance.
 void setFactoryName(java.lang.String factoryName)
          Sets the factory's name.
 void setInfo(java.io.Serializable info)
          Sets the serializable info used for the timer expiration notification.
 void setTimer(Timer timer)
          Sets the timer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID for serializable classes.

See Also:
Constant Field Values

easyBeansServerID

private java.lang.Integer easyBeansServerID
Reference on the id of the EasyBeans server. This will allow to get back the Quartz scheduler.


containerId

private java.lang.String containerId
Container id.


factoryName

private java.lang.String factoryName
Factory name.


info

private java.io.Serializable info
Application information to be delivered along with the timer expiration notification.


timer

private transient Timer timer
The timer object (that is transient). It is used only on the same JVM.

Constructor Detail

EasyBeansJobDetailData

public EasyBeansJobDetailData()
Method Detail

getInfo

public java.io.Serializable getInfo()
Returns:
the serializable info used for the timer expiration notification.

setInfo

public void setInfo(java.io.Serializable info)
Sets the serializable info used for the timer expiration notification.

Parameters:
info - the given info

setContainerId

public void setContainerId(java.lang.String containerId)
Sets the container ID.

Parameters:
containerId - the identifier of the container.

getContainerId

protected java.lang.String getContainerId()
Returns:
the container id.

getFactoryName

public java.lang.String getFactoryName()
Returns:
the name of the factory.

setFactoryName

public void setFactoryName(java.lang.String factoryName)
Sets the factory's name.

Parameters:
factoryName - the name of the factory.

setEasyBeansServerID

public void setEasyBeansServerID(java.lang.Integer easyBeansServerID)
Sets the Server ID of the EasyBeans instance.

Parameters:
easyBeansServerID - the ID of the EasyBeans server

getEasyBeansServerID

public java.lang.Integer getEasyBeansServerID()
Gets the Server ID of the EasyBeans instance.

Returns:
the ID of the EasyBeans server

setTimer

public void setTimer(Timer timer)
Sets the timer object.

Parameters:
timer - the given timer

getTimer

public Timer getTimer()
Gets the timer object.

Returns:
the timer object