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 exe)
          添加一个可执行对象
 Executable getExecutable(java.lang.String name)
          根据名称查找可执行对象
 java.util.Map<java.lang.String,Executable> getExecutables()
           
 GenericConverter getGenericConverter()
           
 InterceptorInfo getInterceptorInfo()
           
 ResolverFactory getResolverFactory()
           
 void setExecutables(java.util.Map<java.lang.String,Executable> executables)
           
 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.Map<java.lang.String,Executable> getExecutables()

setExecutables

public void setExecutables(java.util.Map<java.lang.String,Executable> executables)

getExecutable

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

参数:
name -
返回:

addExecutable

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

参数:
exe -