org.riotfamily.common.scheduling
Class TransactionalJobDetailFactoryBean

java.lang.Object
  extended by org.riotfamily.common.scheduling.TransactionalJobDetailFactoryBean
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, FactoryBean, InitializingBean

Deprecated.

public class TransactionalJobDetailFactoryBean
extends Object
implements FactoryBean, BeanNameAware, BeanFactoryAware, InitializingBean

Since:
7.0
Author:
Felix Gnass [fgnass at neteye dot de]

Nested Class Summary
static class TransactionalJobDetailFactoryBean.StatefulTransactionalJob
          Deprecated. Extension of the TransactionalJob, implementing the StatefulJob interface.
static class TransactionalJobDetailFactoryBean.TransactionalJob
          Deprecated.  
 
Constructor Summary
TransactionalJobDetailFactoryBean()
          Deprecated.  
 
Method Summary
 void afterPropertiesSet()
          Deprecated.  
 Object getObject()
          Deprecated.  
 Class<?> getObjectType()
          Deprecated.  
 boolean isSingleton()
          Deprecated.  
 void setBeanFactory(BeanFactory beanFactory)
          Deprecated.  
 void setBeanName(String beanName)
          Deprecated.  
 void setCallback(TransactionCallback callback)
          Deprecated.  
 void setConcurrent(boolean concurrent)
          Deprecated. Specify whether or not multiple jobs should be run in a concurrent fashion.
 void setGroup(String group)
          Deprecated. Set the group of the job.
 void setJobListenerNames(String[] names)
          Deprecated. Set a list of JobListener names for this job, referring to non-global JobListeners registered with the Scheduler.
 void setName(String name)
          Deprecated. Set the name of the job.
 void setTransactionManager(PlatformTransactionManager transactionManager)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalJobDetailFactoryBean

public TransactionalJobDetailFactoryBean()
Deprecated. 
Method Detail

setTransactionManager

public void setTransactionManager(PlatformTransactionManager transactionManager)
Deprecated. 

setCallback

public void setCallback(TransactionCallback callback)
Deprecated. 

setName

public void setName(String name)
Deprecated. 
Set the name of the job.

Default is the bean name of this FactoryBean.

See Also:
JobDetail.setName(java.lang.String)

setGroup

public void setGroup(String group)
Deprecated. 
Set the group of the job.

Default is the default group of the Scheduler.

See Also:
JobDetail.setGroup(java.lang.String), Scheduler.DEFAULT_GROUP

setConcurrent

public void setConcurrent(boolean concurrent)
Deprecated. 
Specify whether or not multiple jobs should be run in a concurrent fashion. The behavior when one does not want concurrent jobs to be executed is realized through adding the StatefulJob interface. More information on stateful versus stateless jobs can be found here.

The default setting is to run jobs concurrently.


setJobListenerNames

public void setJobListenerNames(String[] names)
Deprecated. 
Set a list of JobListener names for this job, referring to non-global JobListeners registered with the Scheduler.

A JobListener name always refers to the name returned by the JobListener implementation.

See Also:
SchedulerAccessor.setJobListeners(org.quartz.JobListener[]), JobListener.getName()

setBeanName

public void setBeanName(String beanName)
Deprecated. 
Specified by:
setBeanName in interface BeanNameAware

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
Deprecated. 
Specified by:
setBeanFactory in interface BeanFactoryAware

afterPropertiesSet

public void afterPropertiesSet()
Deprecated. 
Specified by:
afterPropertiesSet in interface InitializingBean

getObject

public Object getObject()
Deprecated. 
Specified by:
getObject in interface FactoryBean

getObjectType

public Class<?> getObjectType()
Deprecated. 
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Deprecated. 
Specified by:
isSingleton in interface FactoryBean