FileDocCategorySizeDatePackage
QuartzActivationSpec.javaAPI DocJBoss 4.2.14175Fri Jul 13 21:01:14 BST 2007org.jboss.resource.adapter.quartz.inflow

QuartzActivationSpec

public class QuartzActivationSpec extends Object implements Serializable, javax.resource.spi.ActivationSpec
The QuartzActivationSpec.
author
bill@jboss.org
version
$Revision: 57189 $

Fields Summary
private transient javax.resource.spi.ResourceAdapter
ra
The resource adapter
private static long
counter
private String
jobName
private String
jobGroup
private String
triggerName
private String
triggerGroup
private String
cronTrigger
private boolean
stateful
private boolean
volatility
private boolean
durable
private boolean
recoverable
Constructors Summary
public QuartzActivationSpec()

      
   
Methods Summary
private static synchronized longgetCounter()

      return counter++;
   
public java.lang.StringgetCronTrigger()

      return cronTrigger;
   
public booleangetDurable()

   
   //---- required ActivationSpec methods

     
   
      return durable;
   
public java.lang.StringgetJobGroup()

      return jobGroup;
   
public java.lang.StringgetJobName()

      return jobName;
   
public booleangetRecoverable()

      return recoverable;
   
public javax.resource.spi.ResourceAdaptergetResourceAdapter()

      return ra;
   
public java.lang.StringgetTriggerGroup()

      return triggerGroup;
   
public java.lang.StringgetTriggerName()

      return triggerName;
   
public booleangetVolatility()

      return volatility;
   
public booleanisStateful()

      return stateful;
   
public voidsetCronTrigger(java.lang.String cronTrigger)

      this.cronTrigger = cronTrigger;
   
public voidsetDurable(boolean durable)

      this.durable = durable;
   
public voidsetJobGroup(java.lang.String jobGroup)

      this.jobGroup = jobGroup;
   
public voidsetJobName(java.lang.String jobName)

      this.jobName = jobName;
   
public voidsetRecoverable(boolean recoverable)

      this.recoverable = recoverable;
   
public voidsetResourceAdapter(javax.resource.spi.ResourceAdapter ra)

      this.ra = ra;
   
public voidsetStateful(boolean stateful)

      this.stateful = stateful;
   
public voidsetTriggerGroup(java.lang.String triggerGroup)

      this.triggerGroup = triggerGroup;
   
public voidsetTriggerName(java.lang.String triggerName)

      this.triggerName = triggerName;
   
public voidsetVolatility(boolean volatility)

      this.volatility = volatility;
   
public java.lang.StringtoString()

      return "jobName=" + jobName + ",jobGroup="+jobGroup+",triggerName="+triggerName+",triggerGroup="+triggerGroup+",cronTrigger="+cronTrigger + "volatility" + volatility + "durability" + durable + "recoverable" + recoverable;
   
public voidvalidate()