|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.server.war.EmbeddedBootstrap
public class EmbeddedBootstrap
This bootsrap is instanciated by the context listener. The context listener is registering some libraries in higher classloader and then it can't instantiate directly EasyBeans.
Constructor Summary | |
---|---|
EmbeddedBootstrap()
|
Method Summary | |
---|---|
ContainerTypeEnum |
getContainerType()
|
Embedded |
getEmbedded()
|
protected ServerConfig |
getServerConfig()
|
ServletContextEvent |
getServletContextEvent()
|
void |
setContainerType(ContainerTypeEnum containerType)
Defines the container type. |
void |
setDeployParentDir(java.lang.String deployParentDir)
Defines the parent directory for all the deployment. |
void |
setEnableSmartFactory(boolean enableSmartFactory)
Allows to enable or disable the registration of the smart factory. |
void |
setServletContextEvent(ServletContextEvent servletContextEvent)
Defines the context event used at context listener startup. |
void |
start()
Start EasyBeans embedded instance. |
void |
stop()
Stop EasyBeans instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedBootstrap()
Method Detail |
---|
public Embedded getEmbedded()
public ContainerTypeEnum getContainerType()
public void setContainerType(ContainerTypeEnum containerType)
containerType
- one of Tomcat5, Tomcat6, Jetty enum typepublic ServletContextEvent getServletContextEvent()
public void setServletContextEvent(ServletContextEvent servletContextEvent)
servletContextEvent
- the given context eventpublic void setDeployParentDir(java.lang.String deployParentDir)
deployParentDir
- the given directorypublic void start()
public void stop()
protected ServerConfig getServerConfig()
public void setEnableSmartFactory(boolean enableSmartFactory)
enableSmartFactory
- true to enable or false to disable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |