xflow.util
Class Persistence

java.lang.Object
  extended byxflow.util.Persistence

public class Persistence
extends java.lang.Object


Field Summary
static java.lang.String DB_PROPERTIES
           
 
Constructor Summary
Persistence()
           
 
Method Summary
static void closeAll(java.sql.ResultSet rs, java.sql.Statement st, java.sql.Connection c)
           
static java.lang.Object enhanceInstanceOfClass(java.lang.Class clazz)
           
static void execute(IBatisWork work)
           
static java.sql.Connection getConnection()
           
static DirectedGraphP getDirectGraphP()
           
static InboxP getInboxP()
           
static ProcessStack getProcessStack()
           
static com.ibatis.sqlmap.client.SqlMapClient getSqlMap()
           
static com.ibatis.sqlmap.client.SqlMapClient getThreadSqlMapSession()
           
static WaitingP getWaitingP()
           
static WorkExecutor getWorkExecutor()
           
static WorkflowP getWorkflowP()
           
static WorkItemP getWorkItemP()
           
static void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB_PROPERTIES

public static final java.lang.String DB_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

Persistence

public Persistence()
Method Detail

init

public static void init()

execute

public static void execute(IBatisWork work)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getSqlMap

public static com.ibatis.sqlmap.client.SqlMapClient getSqlMap()
                                                       throws java.io.IOException
Throws:
java.io.IOException

getConnection

public static java.sql.Connection getConnection()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

closeAll

public static void closeAll(java.sql.ResultSet rs,
                            java.sql.Statement st,
                            java.sql.Connection c)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getWorkExecutor

public static WorkExecutor getWorkExecutor()

getWaitingP

public static WaitingP getWaitingP()

getDirectGraphP

public static DirectedGraphP getDirectGraphP()

getWorkflowP

public static WorkflowP getWorkflowP()

getWorkItemP

public static WorkItemP getWorkItemP()

getInboxP

public static InboxP getInboxP()

getProcessStack

public static ProcessStack getProcessStack()

getThreadSqlMapSession

public static com.ibatis.sqlmap.client.SqlMapClient getThreadSqlMapSession()

enhanceInstanceOfClass

public static java.lang.Object enhanceInstanceOfClass(java.lang.Class clazz)