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
Modifier and TypeMethodDescriptionvoidsetRegistry(StoreRegistry aRegistry) Set the registry.voidsetStoreAppender(StoreAppender storeWriter) Set the store appender.voidstore(PrintWriter aWriter, int indent, Object aElement) Store a server.xml element with attributes and children.voidstoreXMLHead(PrintWriter aWriter) Store XML header. 
- 
Method Details
- 
getStoreAppender
StoreAppender getStoreAppender()- Returns:
 - the writer
 
 - 
setStoreAppender
Set the store appender.- Parameters:
 storeWriter- the writer
 - 
setRegistry
Set the registry.- Parameters:
 aRegistry- the registry to be associated with
 - 
getRegistry
StoreRegistry getRegistry()- Returns:
 - the associated registry
 
 - 
store
Store a server.xml element with attributes and children.- Parameters:
 aWriter- the writer to write toindent- the indentationaElement- the element to write- Throws:
 Exception- if an error occurs
 - 
storeXMLHead
Store XML header.- Parameters:
 aWriter- the writer to write to
 
 -