org.activiti.engine.impl.cfg
类 CommandExecutorImpl

java.lang.Object
  继承者 org.activiti.engine.impl.cfg.CommandExecutorImpl
所有已实现的接口:
CommandExecutor

public class CommandExecutorImpl
extends Object
implements CommandExecutor

Command executor that passes commands to the first interceptor in the chain. If no CommandConfig is passed, the default configuration will be used.

作者:
Marcus Klimstra (CGI)

构造方法摘要
CommandExecutorImpl(CommandConfig defaultConfig, CommandInterceptor first)
           
 
方法摘要
<T> T
execute(Command<T> command)
          Execute a command with the default CommandConfig.
<T> T
execute(CommandConfig config, Command<T> command)
          Execute a command with the specified CommandConfig.
 CommandConfig getDefaultConfig()
           
 CommandInterceptor getFirst()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CommandExecutorImpl

public CommandExecutorImpl(CommandConfig defaultConfig,
                           CommandInterceptor first)
方法详细信息

getFirst

public CommandInterceptor getFirst()

getDefaultConfig

public CommandConfig getDefaultConfig()
指定者:
接口 CommandExecutor 中的 getDefaultConfig
返回:
the default CommandConfig, used if none is provided.

execute

public <T> T execute(Command<T> command)
从接口 CommandExecutor 复制的描述
Execute a command with the default CommandConfig.

指定者:
接口 CommandExecutor 中的 execute

execute

public <T> T execute(CommandConfig config,
                     Command<T> command)
从接口 CommandExecutor 复制的描述
Execute a command with the specified CommandConfig.

指定者:
接口 CommandExecutor 中的 execute


Copyright © 2013 Alfresco. All rights reserved.