Package org.apache.catalina.storeconfig
Class CredentialHandlerSF
java.lang.Object
org.apache.catalina.storeconfig.StoreFactoryBase
org.apache.catalina.storeconfig.CredentialHandlerSF
- All Implemented Interfaces:
IStoreFactory
Store server.xml Element CredentialHandler
-
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 aElement) Store a server.xml element with attributes and children.void
storeChildren
(PrintWriter aWriter, int indent, Object aCredentialHandler, StoreDescription parentDesc) Store the specified CredentialHandler properties and child (CredentialHandler)Methods inherited from class org.apache.catalina.storeconfig.StoreFactoryBase
getInfo, getRegistry, getStoreAppender, setRegistry, setStoreAppender, storeElement, storeElementArray, storeXMLHead
-
Constructor Details
-
CredentialHandlerSF
public CredentialHandlerSF()
-
-
Method Details
-
store
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:
Exception
- if an error occurs
-
storeChildren
public void storeChildren(PrintWriter aWriter, int indent, Object aCredentialHandler, StoreDescription parentDesc) throws Exception Store the specified CredentialHandler properties and child (CredentialHandler)Must Implement at subclass for custom store children handling.
- Overrides:
storeChildren
in classStoreFactoryBase
- Parameters:
aWriter
- Current output writerindent
- Indentation levelaCredentialHandler
- Current elementparentDesc
- The element description- Throws:
Exception
- Configuration storing error
-