Package org.apache.catalina.storeconfig
Class NamingResourcesSF
- java.lang.Object
-
- org.apache.catalina.storeconfig.StoreFactoryBase
-
- org.apache.catalina.storeconfig.NamingResourcesSF
-
- All Implemented Interfaces:
IStoreFactory
public class NamingResourcesSF extends StoreFactoryBase
Store server.xml elements Resources at context and GlobalNamingResources
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
sm
-
-
Constructor Summary
Constructors Constructor Description NamingResourcesSF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstore(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement)Store a server.xml element with attributes and children.voidstoreChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement, StoreDescription elementDesc)Store the specified NamingResources properties.-
Methods inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
getInfo, getRegistry, getStoreAppender, setRegistry, setStoreAppender, storeElement, storeElementArray, storeXMLHead
-
-
-
-
Method Detail
-
store
public void store(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement) throws java.lang.ExceptionDescription copied from interface:IStoreFactoryStore a server.xml element with attributes and children.- Specified by:
storein interfaceIStoreFactory- Overrides:
storein classStoreFactoryBase- Parameters:
aWriter- the writer to write toindent- the indentationaElement- the element to write- Throws:
java.lang.Exception- if an error occurs
-
storeChildren
public void storeChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement, StoreDescription elementDesc) throws java.lang.ExceptionStore the specified NamingResources properties.Must Implement at subclass for custom store children handling.
- Overrides:
storeChildrenin classStoreFactoryBase- Parameters:
aWriter- Current output writerindent- Indentation levelaElement- Current elementelementDesc- The element description- Throws:
java.lang.Exception- Configuration storing error
-
-