public class StoreLoader extends 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() |
URL |
getRegistryResource() |
void |
load(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(String path) throws Exception
path
- Path to the configuration file, may be null to use the default
name server-registry.xmlException
- when the configuration file isn't found or a parse error occurspublic URL getRegistryResource()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.