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

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

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

Implementation of a scheduler service using quartz.

See Also:
Serialized Form

Field Summary
static int DEFAULT_MAX_REFIRE_COUNT
          The default maximum refire count.
static java.lang.String INSTANCE_NAME
          The instance name property.
static java.lang.String THREAD_COUNT
          The thread count property.
static java.lang.String THREAD_NAME
          The thread name property.
 
Constructor Summary
QuartzSchedulerServiceFactory()
          Construct the quartz scheduler service factory.
 
Method Summary
 void close()
          Close the service factory.
 org.jbpm.svc.Service openService()
          Create an instance of the scheduler service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE_NAME

public static final java.lang.String INSTANCE_NAME
The instance name property.

See Also:
Constant Field Values

THREAD_NAME

public static final java.lang.String THREAD_NAME
The thread name property.

See Also:
Constant Field Values

THREAD_COUNT

public static final java.lang.String THREAD_COUNT
The thread count property.

See Also:
Constant Field Values

DEFAULT_MAX_REFIRE_COUNT

public static final int DEFAULT_MAX_REFIRE_COUNT
The default maximum refire count.

See Also:
Constant Field Values
Constructor Detail

QuartzSchedulerServiceFactory

public QuartzSchedulerServiceFactory()
                              throws org.jbpm.JbpmException
Construct the quartz scheduler service factory.

Throws:
org.jbpm.JbpmException - For errors during construction.
Method Detail

openService

public org.jbpm.svc.Service openService()
Create an instance of the scheduler service.

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

close

public void close()
Close the service factory.

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