|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcom.beetle.framework.business.command.CommandExecutor
public final class CommandExecutor
| 字段摘要 | |
|---|---|
static int |
COMMON_EXECUTE
普通的本地jvm方式执行 |
static int |
EJB_LOCAL_EXECUTE
EJB本地接口方法执行 |
static int |
EJB_REMOTEL_EXECUTE
EJB远程接口方式执行 |
static int |
RPC_EXECUTE
框架实现http远程方式执行 |
| 构造方法摘要 | |
|---|---|
CommandExecutor()
|
|
| 方法摘要 | |
|---|---|
static void |
asynchroExecute(CommandImp command,
ICommandCallBack callBack)
异步执行,非阻塞 提交命令,后台执行,并通过回调来处理命令执行的结果 |
static void |
asynchroExecute(CommandImp command,
int commandExecuteFlag,
ICommandCallBack callBack)
|
static void |
asynchroExecuteWithTransaction(CommandImp command,
ICommandCallBack callBack)
|
static void |
asynchroExecuteWithTransaction(CommandImp command,
int commandExecuteFlag,
ICommandCallBack callBack)
|
static CommandImp |
execute(CommandImp command)
以非事务方式执行command业务对象 |
static CommandImp |
execute(CommandImp command,
int commandExecuteFlag)
以非事务方式执行command业务对象 |
static CommandImp |
executeWithTransaction(CommandImp command)
以事务方式执行command业务对象 |
static CommandImp |
executeWithTransaction(CommandImp command,
int commandExecuteFlag)
以事务方式执行command业务对象 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int EJB_LOCAL_EXECUTE
public static final int EJB_REMOTEL_EXECUTE
public static final int COMMON_EXECUTE
public static final int RPC_EXECUTE
| 构造方法详细信息 |
|---|
public CommandExecutor()
| 方法详细信息 |
|---|
public static CommandImp executeWithTransaction(CommandImp command)
throws CommandExecuteException
command - CommandImp
CommandExecuteException
public static CommandImp execute(CommandImp command)
throws CommandExecuteException
command - CommandImp
CommandExecuteException
public static void asynchroExecute(CommandImp command,
ICommandCallBack callBack)
throws CommandExecuteException
command - --输入命令callBack - --结果处理回调
CommandExecuteException
public static void asynchroExecute(CommandImp command,
int commandExecuteFlag,
ICommandCallBack callBack)
throws CommandExecuteException
CommandExecuteException
public static void asynchroExecuteWithTransaction(CommandImp command,
int commandExecuteFlag,
ICommandCallBack callBack)
throws CommandExecuteException
CommandExecuteException
public static void asynchroExecuteWithTransaction(CommandImp command,
ICommandCallBack callBack)
throws CommandExecuteException
CommandExecuteException
public static CommandImp execute(CommandImp command,
int commandExecuteFlag)
throws CommandExecuteException
command - CommandImpcommandExecuteFlag - --执行方式标记
CommandExecuteException
public static CommandImp executeWithTransaction(CommandImp command,
int commandExecuteFlag)
throws CommandExecuteException
command - CommandImpcommandExecuteFlag - --执行方式标记
CommandExecuteException
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||