Package org.apache.catalina.storeconfig
Class NamingResourcesSF
java.lang.Object
org.apache.catalina.storeconfig.StoreFactoryBase
org.apache.catalina.storeconfig.NamingResourcesSF
- All Implemented Interfaces:
IStoreFactory
Store server.xml elements Resources at context and GlobalNamingResources
-
Field Summary
Fields inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
sm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
store
(PrintWriter aWriter, int indent, Object aElement) Store the only the NamingResources elementsvoid
storeChildren
(PrintWriter aWriter, int indent, 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
-
Constructor Details
-
NamingResourcesSF
public NamingResourcesSF()
-
-
Method Details
-
store
Store the only the NamingResources elements- Specified by:
store
in interfaceIStoreFactory
- Overrides:
store
in classStoreFactoryBase
- Throws:
Exception
- See Also:
-
storeChildren
public void storeChildren(PrintWriter aWriter, int indent, Object aElement, StoreDescription elementDesc) throws Exception Store the specified NamingResources properties.- Overrides:
storeChildren
in classStoreFactoryBase
- Parameters:
aWriter
- PrintWriter to which we are storingindent
- Number of spaces to indent this elementaElement
- Object whose properties are being storedelementDesc
- element descriptor- Throws:
Exception
- if an exception occurs while storing- See Also:
-