|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.jdon.container.builder.DefaultContainerBuilder
public class DefaultContainerBuilder
the container builder the methods invoke order is decided by containerDirector.
| 字段摘要 | |
|---|---|
protected ContainerComponents |
aspectConfigComponents
|
protected ContainerComponents |
basicComponents
|
protected ContainerWrapper |
containerWrapper
|
static String |
module
|
protected boolean |
startup
|
protected XmlContainerRegistry |
xmlcontainerRegistry
|
| 从接口 com.jdon.container.builder.ContainerRegistryBuilder 继承的字段 |
|---|
APPLICATION_CONTEXT_ATTRIBUTE_NAME |
| 构造方法摘要 | |
|---|---|
DefaultContainerBuilder(ContainerWrapper containerWrapper,
ContainerComponents basicComponents,
ContainerComponents aspectConfigComponents)
construtor |
|
| 方法摘要 | |
|---|---|
void |
doAfterStarted()
|
ContainerWrapper |
getContainerWrapper()
|
boolean |
isKernelStartup()
|
void |
registerAppRoot(String configureFileName)
if there are xml configure then add new ones; if not, register it; |
void |
registerAspectComponents()
register all apsect components in aspect.xml |
void |
registerComponents()
register all basic components in container.xml |
void |
registerUserService()
register user services/components in jdonframework.xml AnnotationContainerBuilder will override this method, and register annotation services or components. |
void |
setKernelStartup(boolean startup)
|
void |
startApp()
|
void |
stopApp()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final String module
protected final ContainerComponents basicComponents
protected final ContainerComponents aspectConfigComponents
protected final XmlContainerRegistry xmlcontainerRegistry
protected final ContainerWrapper containerWrapper
protected volatile boolean startup
| 构造方法详细信息 |
|---|
public DefaultContainerBuilder(ContainerWrapper containerWrapper,
ContainerComponents basicComponents,
ContainerComponents aspectConfigComponents)
containerWrapper - basicComponents - got from configure fileinterceptorsChain - got from configure file| 方法详细信息 |
|---|
public ContainerWrapper getContainerWrapper()
ContainerRegistryBuilder 中的 getContainerWrapper
public void registerAppRoot(String configureFileName)
throws Exception
ContainerRegistryBuilder 中的 registerAppRootconfigList - Collection the configure collection for jdonframework.xml
Exception
public void registerComponents()
throws Exception
ContainerRegistryBuilder 中的 registerComponentsException
public void registerAspectComponents()
throws Exception
ContainerRegistryBuilder 中的 registerAspectComponentsException
public void registerUserService()
throws Exception
ContainerRegistryBuilder 中的 registerUserServiceExceptionpublic void startApp()
ContainerRegistryBuilder 中的 startApppublic void stopApp()
ContainerRegistryBuilder 中的 stopApppublic void setKernelStartup(boolean startup)
ContainerRegistryBuilder 中的 setKernelStartuppublic boolean isKernelStartup()
ContainerRegistryBuilder 中的 isKernelStartup
public void doAfterStarted()
throws Exception
ContainerRegistryBuilder 中的 doAfterStartedException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||