public class StoreLoader extends Object
<Registry name="" encoding="UTF8" > <Description tag="Server" standard="true" default="true"/> tagClass="org.apache.catalina.core.StandardServer" storeFactory="org.apache.catalina.storeconfig.StandardServerSF"> <TransientAttributes> <Attribute></Attribute> </TransientAttributes> <TransientChildren> <Child></Child> </TransientChildren> </Description> ... </Tegistry>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()
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(String aURL)
Load Description from external source
|
protected File |
serverFile(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()
public void load(String aURL)
aURL
- public void load()
public URL getRegistryResource()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.