org.soybeanMilk.core.config
类 Configuration

java.lang.Object
  继承者 org.soybeanMilk.core.config.Configuration

public class Configuration
extends java.lang.Object

配置,它包含执行所需的环境信息,比如解决对象工厂通用转换器, 以及可执行对象

作者:
earthAngry@gmail.com

构造方法摘要
Configuration()
           
Configuration(ResolverFactory resolverFactory)
           
 
方法摘要
 void addExecutable(Executable executable)
          添加一个可执行对象
 void addExecutables(java.util.Collection<Executable> executables)
          添加集合中的所有可执行对象
 Executable getExecutable(java.lang.String executableName)
          根据名称查找可执行对象
 java.util.Collection<java.lang.String> getExecutableNames()
          获取它包含的所有可执行对象名集合
 java.util.Collection<Executable> getExecutables()
          获取此配置包含的所有可执行对象集合
 java.util.Map<java.lang.String,Executable> getExecutablesMap()
           
 GenericConverter getGenericConverter()
           
 InterceptorInfo getInterceptorInfo()
           
 ResolverFactory getResolverFactory()
           
 void setExecutablesMap(java.util.Map<java.lang.String,Executable> executablesMap)
           
 void setGenericConverter(GenericConverter genericConverter)
           
 void setInterceptorInfo(InterceptorInfo interceptorInfo)
           
 void setResolverFactory(ResolverFactory resolverFactory)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Configuration

public Configuration()

Configuration

public Configuration(ResolverFactory resolverFactory)
方法详细信息

getResolverFactory

public ResolverFactory getResolverFactory()

setResolverFactory

public void setResolverFactory(ResolverFactory resolverFactory)

getGenericConverter

public GenericConverter getGenericConverter()

setGenericConverter

public void setGenericConverter(GenericConverter genericConverter)

getInterceptorInfo

public InterceptorInfo getInterceptorInfo()

setInterceptorInfo

public void setInterceptorInfo(InterceptorInfo interceptorInfo)

getExecutables

public java.util.Collection<Executable> getExecutables()
获取此配置包含的所有可执行对象集合

返回:

getExecutableNames

public java.util.Collection<java.lang.String> getExecutableNames()
获取它包含的所有可执行对象名集合

返回:

addExecutables

public void addExecutables(java.util.Collection<Executable> executables)
添加集合中的所有可执行对象

参数:
executables -

getExecutable

public Executable getExecutable(java.lang.String executableName)
根据名称查找可执行对象

参数:
executableName -
返回:

addExecutable

public void addExecutable(Executable executable)
添加一个可执行对象

参数:
executable -

getExecutablesMap

public java.util.Map<java.lang.String,Executable> getExecutablesMap()

setExecutablesMap

public void setExecutablesMap(java.util.Map<java.lang.String,Executable> executablesMap)