|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Executable 的软件包 | |
|---|---|
| org.soybeanMilk.core | |
| org.soybeanMilk.core.config | |
| org.soybeanMilk.core.exe | |
| org.soybeanMilk.web.exe | |
| org.soybeanMilk.core 中 Executable 的使用 |
|---|
| 返回 Executable 的 org.soybeanMilk.core 中的方法 | |
|---|---|
Executable |
Executor.execute(Executable executable,
ObjectSource objSource)
执行,并返回可执行对象 |
Executable |
DefaultExecutor.execute(Executable executable,
ObjectSource objSource)
|
Executable |
Executor.execute(java.lang.String executableName,
ObjectSource objSource)
执行,并返回可执行对象 |
Executable |
DefaultExecutor.execute(java.lang.String executableName,
ObjectSource objSource)
|
Executable |
Execution.getExecutable()
获取当前执行的可执行对象。 |
| 参数类型为 Executable 的 org.soybeanMilk.core 中的方法 | |
|---|---|
Executable |
Executor.execute(Executable executable,
ObjectSource objSource)
执行,并返回可执行对象 |
Executable |
DefaultExecutor.execute(Executable executable,
ObjectSource objSource)
|
void |
Execution.setExecutable(Executable executable)
|
| 参数类型为 Executable 的 org.soybeanMilk.core 中的构造方法 | |
|---|---|
Execution(Executable executable,
ObjectSource objectSource)
|
|
Execution(Executable executable,
ObjectSource objectSource,
ExecuteException executeException)
|
|
| org.soybeanMilk.core.config 中 Executable 的使用 |
|---|
| 返回 Executable 的 org.soybeanMilk.core.config 中的方法 | |
|---|---|
Executable |
InterceptorInfo.getAfterHandler()
|
Executable |
InterceptorInfo.getBeforeHandler()
|
Executable |
InterceptorInfo.getExceptionHandler()
|
Executable |
Configuration.getExecutable(java.lang.String executableName)
根据名称查找可执行对象 |
| 返回变量类型为 Executable 的类型的 org.soybeanMilk.core.config 中的方法 | |
|---|---|
java.util.Collection<Executable> |
Configuration.getExecutables()
获取此配置包含的所有可执行对象集合 |
java.util.Map<java.lang.String,Executable> |
Configuration.getExecutablesMap()
|
| 参数类型为 Executable 的 org.soybeanMilk.core.config 中的方法 | |
|---|---|
void |
Configuration.addExecutable(Executable executable)
添加一个可执行对象 |
void |
InterceptorInfo.setAfterHandler(Executable afterHandler)
|
void |
InterceptorInfo.setBeforeHandler(Executable beforeHandler)
|
void |
InterceptorInfo.setExceptionHandler(Executable exceptionHandler)
|
| 类型变量类型为 Executable 的 org.soybeanMilk.core.config 中的方法参数 | |
|---|---|
void |
Configuration.addExecutables(java.util.Collection<Executable> executables)
添加集合中的所有可执行对象 |
void |
Configuration.setExecutablesMap(java.util.Map<java.lang.String,Executable> executablesMap)
|
| 参数类型为 Executable 的 org.soybeanMilk.core.config 中的构造方法 | |
|---|---|
InterceptorInfo(Executable beforeHandler,
Executable afterHandler,
Executable exceptionHandler,
java.io.Serializable executionKey)
|
|
| org.soybeanMilk.core.exe 中 Executable 的使用 |
|---|
| 实现 Executable 的 org.soybeanMilk.core.exe 中的类 | |
|---|---|
class |
AbstractExecutable
可执行对象的顶层抽象类,它实现名称定义。 |
class |
Action
动作,它可以包含多个可执行对象(动作或者调用), 并且它们会按照添加时的顺序被执行。 |
class |
Invoke
调用,它包含执行方法(Method对象)、方法的参数信息、解决对象提供者 |
| 返回变量类型为 Executable 的类型的 org.soybeanMilk.core.exe 中的方法 | |
|---|---|
java.util.List<Executable> |
Action.getExecutables()
获取此动作包含的所有可执行对象,它可能包含动作和调用。 |
| 参数类型为 Executable 的 org.soybeanMilk.core.exe 中的方法 | |
|---|---|
void |
Action.addExecutable(Executable exe)
添加一个可执行对象到此动作中,这个可执行对象并不必须设置它的名称属性, 因为动作内不需要识别任何可执行对象,它只是顺序地执行它们。 |
| 类型变量类型为 Executable 的 org.soybeanMilk.core.exe 中的方法参数 | |
|---|---|
void |
Action.setExecutables(java.util.List<Executable> executables)
|
| 类型变量类型为 Executable 的 org.soybeanMilk.core.exe 中的构造方法参数 | |
|---|---|
Action(java.lang.String name,
java.util.List<Executable> executables)
|
|
| org.soybeanMilk.web.exe 中 Executable 的使用 |
|---|
| 实现 Executable 的 org.soybeanMilk.web.exe 中的类 | |
|---|---|
class |
WebAction
WEB动作,多一个 Target属性。 |
| 类型变量类型为 Executable 的 org.soybeanMilk.web.exe 中的构造方法参数 | |
|---|---|
WebAction(java.lang.String name,
java.util.List<Executable> executables)
|
|
WebAction(java.lang.String name,
java.util.List<Executable> executables,
WebAction.Target target)
|
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||