getExpressoServicesConfig() Retrieve the current ExpressoServicesConfiguration file bean.
Note An important aspect of memory saving that RootContainer does
is that it maintains the local copy of the ExpressoServicesConfig as a
weak reference.
Configure the global container including type conversion for default
values.
Parameters: newConfig - The Configuration 'dynabean' throws: ConfigurationException - upon error
Retrieve the current ExpressoServicesConfiguration file bean.
Note An important aspect of memory saving that RootContainer does
is that it maintains the local copy of the ExpressoServicesConfig as a
weak reference. It then reloads from scratch if absolutely necessary.
Because of this, you cannot modify ExpressoServicesConfig, lose your
reference, and call getExpressoServicesConfig() again to retrieve your
changes. Maintain a reference yourself if you want to save changes
later!
the Root ExpressoServicesconfig
Set the ExpressoServicesConfig bean. This is usually done by the System
factory, or possibly the management tools.
Parameters: theConfig - the new Expresso services config file.
setHttpPort
public synchronized void setHttpPort(String httpPort)(Code)
Set the HTTP port of the server
Parameters: httpPort - the new value for this configuration setting
setLogManager
public synchronized void setLogManager(LogManager newManager)(Code)
Set the log manager for the entire expresso system
Parameters: newManager - the new LogManager for the system
setServicesFileLocation
public synchronized void setServicesFileLocation(java.net.URL url)(Code)
Sets the ULR location of the services file. This is usually called by
the SystemFactory
Parameters: url - the location of the services file.
setServletAPI
public synchronized void setServletAPI(String servletAPI)(Code)
Set the servlet API of the system
Parameters: servletAPI - the new value for the system
setShowStackTrace
public synchronized void setShowStackTrace(Boolean showStackTrace)(Code)
Sets whether stack traces should be shown or not.
Parameters: showStackTrace - the new value. throws: IllegalArgumentException - if showStackTrace is null
setSslPort
public synchronized void setSslPort(String sslPort)(Code)
Set the SSL port property of this root container
Parameters: sslPort - the new location for the SSL port
Methods inherited from com.jcorporate.expresso.kernel.ContainerComponentBase