Package org.apache.catalina.storeconfig
Interface IStoreFactory
-
- All Known Implementing Classes:
CatalinaClusterSF
,ChannelSF
,ConnectorSF
,CredentialHandlerSF
,GlobalNamingResourcesSF
,InterceptorSF
,JarScannerSF
,LoaderSF
,ManagerSF
,NamingResourcesSF
,OpenSSLConfSF
,PersistentManagerSF
,RealmSF
,SenderSF
,SSLHostConfigSF
,StandardContextSF
,StandardEngineSF
,StandardHostSF
,StandardServerSF
,StandardServiceSF
,StoreFactoryBase
,WatchedResourceSF
,WebResourceRootSF
,WrapperLifecycleSF
,WrapperListenerSF
public interface IStoreFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StoreRegistry
getRegistry()
StoreAppender
getStoreAppender()
void
setRegistry(StoreRegistry aRegistry)
Set the registry.void
setStoreAppender(StoreAppender storeWriter)
Set the store appender.void
store(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement)
Store a server.xml element with attributes and children.void
storeXMLHead(java.io.PrintWriter aWriter)
Store XML header.
-
-
-
Method Detail
-
getStoreAppender
StoreAppender getStoreAppender()
- Returns:
- the writer
-
setStoreAppender
void setStoreAppender(StoreAppender storeWriter)
Set the store appender.- Parameters:
storeWriter
- the writer
-
setRegistry
void setRegistry(StoreRegistry aRegistry)
Set the registry.- Parameters:
aRegistry
- the registry to be associated with
-
getRegistry
StoreRegistry getRegistry()
- Returns:
- the associated registry
-
store
void store(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement) throws java.lang.Exception
Store a server.xml element with attributes and children.- Parameters:
aWriter
- the writer to write toindent
- the indentationaElement
- the element to write- Throws:
java.lang.Exception
- if an error occurs
-
storeXMLHead
void storeXMLHead(java.io.PrintWriter aWriter)
Store XML header.- Parameters:
aWriter
- the writer to write to
-
-