IStoreFactoryCatalinaClusterSF, ChannelSF, ConnectorSF, CredentialHandlerSF, GlobalNamingResourcesSF, InterceptorSF, JarScannerSF, LoaderSF, ManagerSF, NamingResourcesSF, OpenSSLConfSF, PersistentManagerSF, RealmSF, SenderSF, SSLHostConfigSF, StandardContextSF, StandardEngineSF, StandardHostSF, StandardServerSF, StandardServiceSF, WatchedResourceSF, WebResourceRootSF, WrapperLifecycleSF, WrapperListenerSFpublic class StoreFactoryBase extends java.lang.Object implements IStoreFactory
| Modifier and Type | Field | Description |
|---|---|---|
protected static StringManager |
sm |
The string manager for this package.
|
| Constructor | Description |
|---|---|
StoreFactoryBase() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getInfo() |
|
StoreRegistry |
getRegistry() |
get Registry
|
StoreAppender |
getStoreAppender() |
|
void |
setRegistry(StoreRegistry aRegistry) |
Set Registry
|
void |
setStoreAppender(StoreAppender storeAppender) |
|
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 aElement,
StoreDescription elementDesc) |
Must Implement at subclass for custom store children handling.
|
protected void |
storeElement(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aTagElement) |
Store only elements from storeChildren methods that are not a transient
child.
|
protected void |
storeElementArray(java.io.PrintWriter aWriter,
int indent,
java.lang.Object[] elements) |
Save a array of elements.
|
void |
storeXMLHead(java.io.PrintWriter aWriter) |
protected static final StringManager sm
public java.lang.String getInfo()
<description>/<version>.public StoreAppender getStoreAppender()
getStoreAppender in interface IStoreFactorypublic void setStoreAppender(StoreAppender storeAppender)
setStoreAppender in interface IStoreFactorystoreAppender - The storeAppender to set.public void setRegistry(StoreRegistry aRegistry)
setRegistry in interface IStoreFactoryIStoreFactory.setRegistry(org.apache.catalina.storeconfig.StoreRegistry)public StoreRegistry getRegistry()
getRegistry in interface IStoreFactoryIStoreFactory.getRegistry()public void storeXMLHead(java.io.PrintWriter aWriter)
storeXMLHead in interface IStoreFactorypublic void store(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement)
throws java.lang.Exception
store in interface IStoreFactoryjava.lang.ExceptionIStoreFactory.store(java.io.PrintWriter,
int, java.lang.Object)public void storeChildren(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
throws java.lang.Exception
aWriter - Current output writerindent - Indentation levelaElement - Current elementelementDesc - The element descriptionjava.lang.Exception - Configuration storing errorprotected void storeElement(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aTagElement)
throws java.lang.Exception
aWriter - Current output writerindent - Indentation levelaTagElement - Current elementjava.lang.Exception - Configuration storing errorprotected void storeElementArray(java.io.PrintWriter aWriter,
int indent,
java.lang.Object[] elements)
throws java.lang.Exception
aWriter - Current output writerindent - Indentation levelelements - Array of elementsjava.lang.Exception - Configuration storing errorCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.