|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.services.jbpm.integration.AbstractJmsJobService
public abstract class AbstractJmsJobService
Abstract JMS service code based on the jBPM implementations.
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
log
The logger for this class. |
| Constructor Summary | |
|---|---|
AbstractJmsJobService(org.jbpm.JbpmContext jbpmContext,
javax.jms.ConnectionFactory connectionFactory,
javax.jms.Destination destination,
boolean isCommitEnabled)
Construct the base JMS job service. |
|
| Method Summary | |
|---|---|
void |
close()
Close the job service. |
org.jbpm.db.JobSession |
getJobSession()
Get the job session associated with this job service. |
protected javax.jms.MessageProducer |
getMessageProducer()
Get the associated JMS message producer. |
javax.jms.Session |
getSession()
Get the JMS session associated with this job service. |
protected void |
send(org.jbpm.job.Job job,
JmsScheduledDeliveryStrategy scheduledDeliveryStrategy)
Send the job to the job executor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public AbstractJmsJobService(org.jbpm.JbpmContext jbpmContext,
javax.jms.ConnectionFactory connectionFactory,
javax.jms.Destination destination,
boolean isCommitEnabled)
jbpmContext - The current jBPM context.connectionFactory - The associated JMS connection factory.destination - The JMS destination for jobs.isCommitEnabled - true if commit should be invoked, false otherwise.
javax.jms.JMSException - For errors in constructing the JMS session.| Method Detail |
|---|
protected void send(org.jbpm.job.Job job,
JmsScheduledDeliveryStrategy scheduledDeliveryStrategy)
job - The job to send.scheduledDeliveryStrategy - The scheduled delivery strategy, if a timer.public void close()
public javax.jms.Session getSession()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic org.jbpm.db.JobSession getJobSession()
protected javax.jms.MessageProducer getMessageProducer()
throws javax.jms.JMSException
javax.jms.JMSException - for errors during construction of the JMS message producer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||