接口 org.soybeanMilk.core.ObjectSource
的使用

使用 ObjectSource 的软件包
org.soybeanMilk.core   
org.soybeanMilk.core.exe   
org.soybeanMilk.core.os   
org.soybeanMilk.web.exe.th   
org.soybeanMilk.web.os   
 

org.soybeanMilk.coreObjectSource 的使用
 

返回 ObjectSourceorg.soybeanMilk.core 中的方法
 ObjectSource Execution.getObjectSource()
          获取当前执行使用的对象源对象。
 

参数类型为 ObjectSourceorg.soybeanMilk.core 中的方法
 Executable Executor.execute(Executable executable, ObjectSource objSource)
          执行,并返回可执行对象
 Executable DefaultExecutor.execute(Executable executable, ObjectSource objSource)
           
 void Executable.execute(ObjectSource objectSource)
          执行
 Executable Executor.execute(java.lang.String executableName, ObjectSource objSource)
          执行,并返回可执行对象。
 Executable DefaultExecutor.execute(java.lang.String executableName, ObjectSource objSource)
           
 void Execution.setObjectSource(ObjectSource objectSource)
           
 

参数类型为 ObjectSourceorg.soybeanMilk.core 中的构造方法
Execution(Executable executable, ObjectSource objectSource)
           
Execution(Executable executable, ObjectSource objectSource, ExecuteException executeException)
           
 

org.soybeanMilk.core.exeObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.core.exe 中的方法
 void Invoke.execute(ObjectSource objectSource)
           
 void Action.execute(ObjectSource dataStore)
           
abstract  void AbstractExecutable.execute(ObjectSource objectSource)
           
 boolean Invoke.isBreaked(ObjectSource objectSource)
          此调用是否会在给定对象源上执行时被打断
 

org.soybeanMilk.core.osObjectSource 的使用
 

实现 ObjectSourceorg.soybeanMilk.core.os 中的类
 class ConvertableObjectSource
          可以添加对象转换支持的对象源,当对象源中的对象与期望的结果对象类型不符时,对象源将尝试进行类型转换
 class HashMapObjectSource
          基于哈希表的一个简单对象源实现。
 

org.soybeanMilk.web.exe.thObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.web.exe.th 中的方法
static java.lang.String AbstractTargetHandler.evaluateVariableUrl(java.lang.String variableUrl, ObjectSource objectSource)
          求变量URL的值
 java.lang.String AbstractTargetHandler.getActualTargetUrl(WebAction webAction, ObjectSource objectSource)
          获取目标的实际URL(URL中的变量已被具体值替换), 在AbstractTargetHandler.handleTarget(WebAction, WebObjectSource)中你通常需要先调用此方法来获取实际的目标URL。
 

org.soybeanMilk.web.osObjectSource 的使用
 

实现 ObjectSourceorg.soybeanMilk.web.os 中的类
 class WebObjectSource
          用于WEB应用的对象源,它的实例的生命周期与一次请求的生命周期相同。