org.jbpm.ejb
Class CommandServiceBean

java.lang.Object
  extended by org.jbpm.ejb.CommandServiceBean
All Implemented Interfaces:
org.jbpm.command.CommandService, LocalCommandService

@Resources(value={,,})
public class CommandServiceBean
extends Object
implements LocalCommandService

Stateless session bean that executes commands by calling their execute method on a separate jBPM context.

Environment

The environment entries and resources available for customization are summarized in the table below.

Name Type Description
JbpmCfgResource Environment Entry The classpath resource from which to read the jBPM configuration. Optional, defaults to jbpm.cfg.xml.
jdbc/JbpmDataSource Resource Manager Reference Logical name of the data source that provides JDBC connections to the persistence service. Must match the hibernate.connection.datasource property in the Hibernate configuration file.
jms/JbpmConnectionFactory Resource Manager Reference Logical name of the factory that provides JMS connections to the JMS connector service. Required for processes that contain asynchronous continuations.
jms/JobQueue Message Destination Reference The message service sends job messages to the queue referenced here. Must be the same queue from which the job listener bean receives messages.

Author:
Alejandro Guizar

Constructor Summary
CommandServiceBean()
           
 
Method Summary
 Object execute(org.jbpm.command.Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandServiceBean

public CommandServiceBean()
Method Detail

execute

public Object execute(org.jbpm.command.Command command)
Specified by:
execute in interface org.jbpm.command.CommandService


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.