|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.ComponentBase
com.jcorporate.expresso.kernel.ContainerComponentBase
com.jcorporate.expresso.kernel.RootContainer
This is the default root container interface. It is essentially the root of the Expresso Runtime tree.
| Constructor Summary | |
RootContainer()
Default constructor |
|
| Method Summary | |
void |
configure(Configuration newConfig)
Configure the global container including type conversion for default values. |
void |
destroy()
Destroys the container and unregisters itself from the ExpressoRuntimeMap |
ExpressoServicesConfig |
getExpressoServicesConfig()
Retrieve the current ExpressoServicesConfiguration file bean. |
String |
getHttpPort()
Retrieve the HTTP port of this server |
LogManager |
getLogManager()
Retrieve the LogManager object for the system |
URL |
getServicesFileLocation()
Retrieves the URL location of the services file location. |
String |
getServletAPI()
Retrieve the servlet API of the system |
String |
getSetupValue(String key)
Retrieve a specific setup value for the container. |
Map |
getSetupValues()
Retrieve all the setup values for the root container. |
Boolean |
getShowStackTrace()
Get the show stack trace. |
String |
getSslPort()
Retrieve the location of the Expresso SSL port. |
void |
initialize()
Default Initializer |
boolean |
isShowStackTrace()
Retrieve whether stack traces should be shown or not. |
void |
reconfigure(Configuration newConfig)
Reconfigure the global container |
void |
setExpressoServicesConfig(ExpressoServicesConfig theConfig)
Set the ExpressoServicesConfig bean. |
void |
setHttpPort(String httpPort)
Set the HTTP port of the server |
void |
setLogManager(LogManager newManager)
Set the log manager for the entire expresso system |
void |
setServicesFileLocation(URL url)
Sets the ULR location of the services file. |
void |
setServletAPI(String servletAPI)
Set the servlet API of the system |
void |
setShowStackTrace(Boolean showStackTrace)
Sets whether stack traces should be shown or not. |
void |
setSslPort(String sslPort)
Set the SSL port property of this root container |
| Methods inherited from class com.jcorporate.expresso.kernel.ContainerComponentBase |
getContainerImplementation, locateComponent, setContainerImplementation |
| Methods inherited from class com.jcorporate.expresso.kernel.ComponentBase |
getMetaData, getMetadataLocation, getParent, setMetaData, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jcorporate.expresso.kernel.Containable |
getContainerImplementation, locateComponent, setContainerImplementation |
| Methods inherited from interface com.jcorporate.expresso.kernel.ExpressoComponent |
getMetaData, getParent, setParent |
| Constructor Detail |
public RootContainer()
| Method Detail |
public void setExpressoServicesConfig(ExpressoServicesConfig theConfig)
setExpressoServicesConfig in interface RootContainerInterfacetheConfig - the new Expresso services config file.public ExpressoServicesConfig getExpressoServicesConfig()
getExpressoServicesConfig in interface RootContainerInterfacepublic void setHttpPort(String httpPort)
httpPort - the new value for this configuration settingpublic String getHttpPort()
public void setLogManager(LogManager newManager)
setLogManager in interface RootContainerInterfacenewManager - the new LogManager for the systempublic LogManager getLogManager()
getLogManager in interface RootContainerInterfacepublic void setServicesFileLocation(URL url)
setServicesFileLocation in interface RootContainerInterfaceurl - the location of the services file.public URL getServicesFileLocation()
getServicesFileLocation in interface RootContainerInterfacepublic void setServletAPI(String servletAPI)
servletAPI - the new value for the systempublic String getServletAPI()
public String getSetupValue(String key)
getSetupValue in interface RootContainerInterfacekey - the key for the global setup value
public Map getSetupValues()
getSetupValues in interface RootContainerInterfacepublic void setShowStackTrace(Boolean showStackTrace)
showStackTrace - the new value.
IllegalArgumentException - if showStackTrace is nullpublic Boolean getShowStackTrace()
public boolean isShowStackTrace()
public void setSslPort(String sslPort)
sslPort - the new location for the SSL portpublic String getSslPort()
public void configure(Configuration newConfig)
throws ConfigurationException
configure in interface ComponentLifecyclenewConfig - The Configuration 'dynabean'
ConfigurationException - upon errorpublic void destroy()
destroy in interface RootContainerInterfacepublic void initialize()
initialize in interface ComponentLifecycle
public void reconfigure(Configuration newConfig)
throws ConfigurationException
reconfigure in interface ComponentLifecyclenewConfig - the new configuration.
ConfigurationException - upon reconfiguration error
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||