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