|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jdon.container.builder.DefaultContainerBuilder
public class DefaultContainerBuilder
the container builder the methods invoke order is decided by containerDirector.
| Field Summary | |
|---|---|
static java.lang.String |
module
|
| Fields inherited from interface com.jdon.container.builder.ContainerBuilder |
|---|
APPLICATION_CONTEXT_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
DefaultContainerBuilder(ContainerWrapper containerWrapper,
ContainerComponents basicComponents,
ContainerComponents aspectConfigComponents)
construtor |
|
| Method Summary | |
|---|---|
void |
addAppConfigureFile(java.lang.String configureFileName)
if there are xml configure then add new ones; if not, register it; |
ContainerWrapper |
getContainerWrapper()
|
boolean |
isStartup()
|
void |
registerAspectComponents()
register all apsect components in aspect.xml |
void |
registerComponents()
register all basic components in container.xml |
void |
registerUserService()
register user services in jdonframework.xml |
void |
setStartup(boolean startup)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
| Constructor Detail |
|---|
public DefaultContainerBuilder(ContainerWrapper containerWrapper,
ContainerComponents basicComponents,
ContainerComponents aspectConfigComponents)
containerWrapper - basicComponents - got from configure fileinterceptorsChain - got from configure file| Method Detail |
|---|
public ContainerWrapper getContainerWrapper()
getContainerWrapper in interface ContainerBuilder
public void addAppConfigureFile(java.lang.String configureFileName)
throws java.lang.Exception
addAppConfigureFile in interface ContainerBuilderconfigList - Collection the configure collection for jdonframework.xml
java.lang.Exception
public void registerComponents()
throws java.lang.Exception
registerComponents in interface ContainerBuilderjava.lang.Exception
public void registerAspectComponents()
throws java.lang.Exception
registerAspectComponents in interface ContainerBuilderjava.lang.Exception
public void registerUserService()
throws java.lang.Exception
registerUserService in interface ContainerBuilderjava.lang.Exceptionpublic void setStartup(boolean startup)
setStartup in interface ContainerBuilderpublic boolean isStartup()
isStartup in interface ContainerBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||