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

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

org.soybeanMilk.coreObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.core 中的方法
 void Executable.execute(ObjectSource objectSource)
          执行
 void Executor.execute(java.lang.String exeName, ObjectSource objSource)
          执行
 void DefaultExecutor.execute(java.lang.String exeName, ObjectSource objSource)
           
 

org.soybeanMilk.core.config.parserObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.core.config.parser 中的方法
 void ConfigurationParser.ExecutableRefProxy.execute(ObjectSource objectSource)
           
 

org.soybeanMilk.core.exeObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.core.exe 中的方法
 void Invoke.execute(ObjectSource dataStore)
           
 void Action.execute(ObjectSource dataStore)
           
protected  java.lang.Object Invoke.executeMethod(ObjectSource objectSource)
          执行该调用的方法并返回结果
protected  java.lang.Object[] Invoke.getMethodArguments(ObjectSource objectSource)
          从对象源中取得方法的参数值数组
protected  java.lang.Object Invoke.getResolver(ObjectSource objectSource)
          取得本调用所依赖的解决对象
protected  void Invoke.saveMethodResult(java.io.Serializable key, java.lang.Object result, ObjectSource objectSource)
          保存方法调用结果到对象源,如果对象源或者keynull,则什么也不做
 

org.soybeanMilk.core.osObjectSource 的使用
 

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

org.soybeanMilk.webObjectSource 的使用
 

参数类型为 ObjectSourceorg.soybeanMilk.web 中的方法
 void WebExecutor.execute(java.lang.String exeName, ObjectSource objSource)
           
 

org.soybeanMilk.web.osObjectSource 的使用
 

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