Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.delegation.impl.action
Class DbAction  view DbAction download DbAction.java

java.lang.Object
  extended byorg.jbpm.workflow.delegation.impl.action.DbAction
All Implemented Interfaces:
org.jbpm.workflow.delegation.ActionHandler

public abstract class DbAction
extends java.lang.Object
implements org.jbpm.workflow.delegation.ActionHandler


Field Summary
protected  javax.sql.DataSource dataSource
           
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
DbAction()
           
 
Method Summary
protected  java.lang.String getDataSourceJndiName(org.jbpm.workflow.delegation.ActionContext actionContext)
           
 void run(org.jbpm.workflow.delegation.ActionContext interactionContext)
          implements the process-initiated action.
protected abstract  void runDbAction(org.jbpm.workflow.delegation.ActionContext interactionContext, java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected javax.sql.DataSource dataSource

log

protected static org.apache.log4j.Logger log
Constructor Detail

DbAction

public DbAction()
Method Detail

runDbAction

protected abstract void runDbAction(org.jbpm.workflow.delegation.ActionContext interactionContext,
                                    java.sql.Connection connection)
                             throws java.sql.SQLException

getDataSourceJndiName

protected java.lang.String getDataSourceJndiName(org.jbpm.workflow.delegation.ActionContext actionContext)

run

public final void run(org.jbpm.workflow.delegation.ActionContext interactionContext)
Description copied from interface: org.jbpm.workflow.delegation.ActionHandler
implements the process-initiated action. * @param interactionContext is the object that allows the Interaction-implementator to communicate with the jBpm process engine.

Specified by:
run in interface org.jbpm.workflow.delegation.ActionHandler