Package org.apache.catalina.storeconfig
Class ManagerSF
- java.lang.Object
-
- org.apache.catalina.storeconfig.StoreFactoryBase
-
- org.apache.catalina.storeconfig.ManagerSF
-
- All Implemented Interfaces:
IStoreFactory
public class ManagerSF extends StoreFactoryBase
Store server.xml Manager element
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
sm
-
-
Constructor Summary
Constructors Constructor Description ManagerSF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisDefaultManager(StandardManager smanager)Is this an instance of the defaultManagerconfiguration, with all-default properties?voidstore(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement)Store the only the Manager elementsvoidstoreChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aManager, StoreDescription parentDesc)Must Implement at subclass for custom store children handling.-
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.ExceptionStore the only the Manager elements- Specified by:
storein interfaceIStoreFactory- Overrides:
storein classStoreFactoryBase- Throws:
java.lang.Exception- See Also:
NamingResourcesSF.storeChildren(PrintWriter, int, Object, StoreDescription)
-
isDefaultManager
protected boolean isDefaultManager(StandardManager smanager)
Is this an instance of the defaultManagerconfiguration, with all-default properties?- Parameters:
smanager- Manager to be tested- Returns:
trueif this is an instance of the default manager
-
storeChildren
public void storeChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aManager, StoreDescription parentDesc) throws java.lang.ExceptionDescription copied from class:StoreFactoryBaseMust Implement at subclass for custom store children handling.- Overrides:
storeChildrenin classStoreFactoryBase- Parameters:
aWriter- Current output writerindent- Indentation levelaManager- Current elementparentDesc- The element description- Throws:
java.lang.Exception- Configuration storing error
-
-