Package org.apache.catalina.storeconfig
Class RealmSF
- java.lang.Object
-
- org.apache.catalina.storeconfig.StoreFactoryBase
-
- org.apache.catalina.storeconfig.RealmSF
-
- All Implemented Interfaces:
IStoreFactory
public class RealmSF extends StoreFactoryBase
Store server.xml Element Realm
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
sm
-
-
Constructor Summary
Constructors Constructor Description RealmSF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
store(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement)
Store a server.xml element with attributes and children.void
storeChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aRealm, StoreDescription parentDesc)
Store the specified Realm properties and child (Realm) 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.Exception
Description copied from interface:IStoreFactory
Store a server.xml element with attributes and children.- Specified by:
store
in interfaceIStoreFactory
- Overrides:
store
in classStoreFactoryBase
- Parameters:
aWriter
- the writer to write toindent
- the indentationaElement
- the element to write- Throws:
java.lang.Exception
- if an error occurs
-
storeChildren
public void storeChildren(java.io.PrintWriter aWriter, int indent, java.lang.Object aRealm, StoreDescription parentDesc) throws java.lang.Exception
Store the specified Realm properties and child (Realm) Must Implement at subclass for custom store children handling.- Overrides:
storeChildren
in classStoreFactoryBase
- Parameters:
aWriter
- Current output writerindent
- Indentation levelaRealm
- Current elementparentDesc
- The element description- Throws:
java.lang.Exception
- Configuration storing error
-
-