org.soybeanMilk.core
类 DefaultExecutor
java.lang.Object
org.soybeanMilk.core.DefaultExecutor
- 所有已实现的接口:
- Executor
- 直接已知子类:
- WebExecutor
public class DefaultExecutor
- extends java.lang.Object
- implements Executor
执行器的一个简单实现,它仅是从配置中查找对应的可执行对象,
然后调用Executor.execute(String, ObjectSource)方法
- 作者:
- earthAngry@gmail.com
| 从类 java.lang.Object 继承的方法 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExecutor
public DefaultExecutor(Configuration configuration)
getConfiguration
public Configuration getConfiguration()
- 从接口
Executor 复制的描述
- 获取执行器使用的配置对象
- 指定者:
- 接口
Executor 中的 getConfiguration
- 返回:
setConfiguration
public void setConfiguration(Configuration configuration)
execute
public Executable execute(java.lang.String exeName,
ObjectSource objSource)
throws ExecuteException,
ExecutableNotFoundException
- 从接口
Executor 复制的描述
- 执行,并返回对应的可执行对象
- 指定者:
- 接口
Executor 中的 execute
- 参数:
exeName - 可执行对象名称objSource - 对象源
- 抛出:
ExecuteException
ExecutableNotFoundException