org.soybeanMilk.core
接口 Executor

所有已知子接口:
WebExecutor
所有已知实现类:
DefaultExecutor, DefaultWebExecutor

public interface Executor

执行器,它可以通过名称来执行可执行对象

作者:
earthAngry@gmail.com

方法摘要
 Executable execute(Executable executable, ObjectSource objSource)
          执行,并返回可执行对象
 Executable execute(java.lang.String executableName, ObjectSource objSource)
          执行,并返回可执行对象。
 Configuration getConfiguration()
          获取执行器使用的配置对象。
 

方法详细信息

getConfiguration

Configuration getConfiguration()
获取执行器使用的配置对象。

返回:

execute

Executable execute(java.lang.String executableName,
                   ObjectSource objSource)
                   throws ExecuteException,
                          ExecutableNotFoundException
执行,并返回可执行对象。

参数:
executableName - 可执行对象名称
objSource - 对象源
抛出:
ExecuteException
ExecutableNotFoundException

execute

Executable execute(Executable executable,
                   ObjectSource objSource)
                   throws ExecuteException
执行,并返回可执行对象

参数:
executable - 可执行对象
objSource - 对象源
返回:
抛出:
ExecuteException