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
- Author:
- Peter Rossbach
Method Summary |
void |
store(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement)
Store the only the NamingResources elements |
void |
storeChilds(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
Store the specified NamingResources properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamingResourcesSF
public NamingResourcesSF()
store
public void store(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement)
throws java.lang.Exception
- Store the only the NamingResources elements
- Specified by:
store
in interface IStoreFactory
- Overrides:
store
in class StoreFactoryBase
- Throws:
java.lang.Exception
- See Also:
storeChilds(PrintWriter, int, Object, StoreDescription)
storeChilds
public void storeChilds(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
throws java.lang.Exception
- Store the specified NamingResources properties.
- Overrides:
storeChilds
in class StoreFactoryBase
- Parameters:
aWriter
- PrintWriter to which we are storingindent
- Number of spaces to indent this elementaElement
- Object whose properties are being storedelementDesc
- element descriptor
- Throws:
java.lang.Exception
- if an exception occurs while storing- See Also:
StoreFactoryBase.storeChilds(java.io.PrintWriter,
int, java.lang.Object, StoreDescription)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.