public class StoreLoader
extends java.lang.Object
<Registry name="" encoding="UTF8" >
<Description
tag="Server"
standard="true"
default="true"
tagClass="org.apache.catalina.core.StandardServer"
storeFactoryClass="org.apache.catalina.storeconfig.StandardServerSF">
<TransientAttributes>
<Attribute></Attribute>
</TransientAttributes>
<TransientChildren>
<Child></Child>
</TransientChildren>
</Description>
...
</Registry>
Convention:
Modifier and Type | Field and Description |
---|---|
protected static Digester |
digester
The
Digester instance used to parse registry descriptors. |
Constructor and Description |
---|
StoreLoader() |
Modifier and Type | Method and Description |
---|---|
protected static Digester |
createDigester()
Create and configure the Digester we will be using for setup store
registry.
|
StoreRegistry |
getRegistry() |
java.net.URL |
getRegistryResource() |
void |
load()
Load from defaults
System Property URL catalina.storeregistry
File $catalina.base/conf/server-registry.xml
class resource org/apache/catalina/storeconfig/server-registry.xml
|
void |
load(java.lang.String aURL)
Load Description from external source
|
protected java.io.File |
serverFile(java.lang.String aFile) |
void |
setRegistry(StoreRegistry registry) |
protected static Digester digester
Digester
instance used to parse registry descriptors.public StoreRegistry getRegistry()
public void setRegistry(StoreRegistry registry)
registry
- The registry to set.protected static Digester createDigester()
protected java.io.File serverFile(java.lang.String aFile)
aFile
- public void load(java.lang.String aURL)
aURL
- public void load()
public java.net.URL getRegistryResource()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.