org.apache.catalina.storeconfig
Class StoreLoader

java.lang.Object
  extended byorg.apache.catalina.storeconfig.StoreLoader

public class StoreLoader
extends java.lang.Object

Author:
Peter Rossbach XML Format
    
       <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>
        <TransientChilds>
          <Child></Child>
        </TransientChilds>
       </Description>
   ...
       </Tegistry>
     
 
Convention: other things:

Field Summary
protected static Digester digester
          The Digester instance used to parse registry descriptors.
 
Constructor Summary
StoreLoader()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

digester

protected static Digester digester
The Digester instance used to parse registry descriptors.

Constructor Detail

StoreLoader

public StoreLoader()
Method Detail

getRegistry

public StoreRegistry getRegistry()
Returns:
Returns the registry.

setRegistry

public void setRegistry(StoreRegistry registry)
Parameters:
registry - The registry to set.

createDigester

protected static Digester createDigester()
Create and configure the Digester we will be using for setup store registry.


serverFile

protected java.io.File serverFile(java.lang.String aFile)
Parameters:
aFile -
Returns:
The server file

load

public void load(java.lang.String aURL)
Load Description from external source

Parameters:
aURL -

load

public void load()
Load from defaults


getRegistryResource

public java.net.URL getRegistryResource()
Returns:
Returns the registryResource.


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.