|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.resources.AbstractConfigLoader
com.xenonsoft.bridgetown.resources.XMLConfigLoader
com.xenonsoft.bridgetown.resources.WebConfigLoader
A configuration loader that loads the assembly configuration from servlet context resource.
| Field Summary |
| Fields inherited from class com.xenonsoft.bridgetown.resources.XMLConfigLoader |
debug, namespaceAware, registrations, validating |
| Fields inherited from class com.xenonsoft.bridgetown.resources.AbstractConfigLoader |
file, inputStream, uri |
| Constructor Summary | |
WebConfigLoader()
The default constructor |
|
WebConfigLoader(javax.servlet.ServletContext newContext)
The standard constructor |
|
| Method Summary | |
javax.servlet.ServletContext |
getServletContext()
Gets the servletContext |
AssemblyConfig |
load()
Loads the service assembly configuration from the servlet context URI specified. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
Sets the servletContext |
java.lang.String |
toString()
Dumps the human readable debuggable string |
| Methods inherited from class com.xenonsoft.bridgetown.resources.XMLConfigLoader |
createParser, isDebug, isNamespaceAware, isValidating, setDebug, setNamespaceAware, setValidating |
| Methods inherited from class com.xenonsoft.bridgetown.resources.AbstractConfigLoader |
load, load, load, setFile, setInputStream, setUri |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WebConfigLoader()
public WebConfigLoader(javax.servlet.ServletContext newContext)
| Method Detail |
public javax.servlet.ServletContext getServletContext()
public void setServletContext(javax.servlet.ServletContext servletContext)
servletContext - the new value for servletContextpublic AssemblyConfig load()
ServletContext.getResourceAsStream call.
The caller must only specify the URI. No other form of loading is currently supported.
CAUTION: THIS CLASS MIGHT BE REFACTORED or REDESIGNED along with the superclasses.
load in interface IConfigLoaderload in class XMLConfigLoaderAssemblyConfigException - if the configuration fails to loadIConfigLoader.load()public java.lang.String toString()
toString in class AbstractConfigLoaderObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||