public class StoreLoader
extends java.lang.Object
<Registry name="" encoding="UTF-8" >
<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(java.lang.String path)
Load registry configuration.
|
void |
setRegistry(StoreRegistry registry) |
protected static final 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()
public void load(java.lang.String path) throws java.lang.Exception
path
- Path to the configuration file, may be null to use the default
name server-registry.xmljava.lang.Exception
- when the configuration file isn't found or a parse error occurspublic java.net.URL getRegistryResource()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.