Package org.apache.catalina.storeconfig
Class StandardServerSF
java.lang.Object
org.apache.catalina.storeconfig.StoreFactoryBase
org.apache.catalina.storeconfig.StandardServerSF
- All Implemented Interfaces:
IStoreFactory
Store server.xml Server element and children (
Listener,GlobalNamingResource,Service)
-
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 aServer) Store the specified Server properties.void
storeChildren
(PrintWriter aWriter, int indent, Object aObject, StoreDescription parentDesc) Store the specified server element children.Methods inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
getInfo, getRegistry, getStoreAppender, setRegistry, setStoreAppender, storeElement, storeElementArray, storeXMLHead
-
Constructor Details
-
StandardServerSF
public StandardServerSF()
-
-
Method Details
-
store
Store the specified Server properties.- Specified by:
store
in interfaceIStoreFactory
- Overrides:
store
in classStoreFactoryBase
- Parameters:
aWriter
- PrintWriter to which we are storingindent
- Number of spaces to indent this elementaServer
- Object to be stored- Throws:
Exception
- if an exception occurs while storing- See Also:
-
storeChildren
public void storeChildren(PrintWriter aWriter, int indent, Object aObject, StoreDescription parentDesc) throws Exception Store the specified server element children.- Overrides:
storeChildren
in classStoreFactoryBase
- Parameters:
aWriter
- Current output writerindent
- Indentation levelaObject
- Server to storeparentDesc
- The element description- Throws:
Exception
- Configuration storing error
-