org.jboss.soa.esb.services.jbpm.integration.timer
Class JmsSchedulerServiceFactory

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.integration.timer.JmsSchedulerServiceFactory
All Implemented Interfaces:
java.io.Serializable, org.jbpm.svc.ServiceFactory

public class JmsSchedulerServiceFactory
extends java.lang.Object
implements org.jbpm.svc.ServiceFactory

Implementation of a scheduler service using quartz.

See Also:
Serialized Form

Constructor Summary
JmsSchedulerServiceFactory()
           
 
Method Summary
 void close()
          Close this factory.
 javax.jms.ConnectionFactory getConnectionFactory()
          Get the JMS connection factory associated with this scheduler.
 javax.jms.Destination getDestination()
          Get the JMS destination associated with this scheduler.
 boolean isCommitEnabled()
          Get the commitEnabled flag.
 org.jbpm.svc.Service openService()
          Create a JMS scheduler service based on this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsSchedulerServiceFactory

public JmsSchedulerServiceFactory()
Method Detail

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory()
Get the JMS connection factory associated with this scheduler.

Returns:
The associated JMS connection factory.

getDestination

public javax.jms.Destination getDestination()
Get the JMS destination associated with this scheduler.

Returns:
The associated JMS destination.

isCommitEnabled

public boolean isCommitEnabled()
Get the commitEnabled flag.

Returns:
true if commit is to be invoked on the JMS session, false otherwise.

openService

public org.jbpm.svc.Service openService()
Create a JMS scheduler service based on this factory.

Specified by:
openService in interface org.jbpm.svc.ServiceFactory

close

public void close()
Close this factory.

Specified by:
close in interface org.jbpm.svc.ServiceFactory