org.apache.cayenne.conf
Class ConfigLoader

java.lang.Object
  extended by org.apache.cayenne.conf.ConfigLoader

public class ConfigLoader
extends Object

Class that performs runtime loading of Cayenne configuration.


Field Summary
protected  ConfigLoaderDelegate delegate
           
protected  XMLReader parser
           
 
Constructor Summary
ConfigLoader(ConfigLoaderDelegate delegate)
          Creates new ConfigLoader.
 
Method Summary
 ConfigLoaderDelegate getDelegate()
          Returns the delegate.
 boolean loadDomains(InputStream in)
          Parses XML input, invoking delegate methods to interpret loaded XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

protected XMLReader parser

delegate

protected ConfigLoaderDelegate delegate
Constructor Detail

ConfigLoader

public ConfigLoader(ConfigLoaderDelegate delegate)
             throws Exception
Creates new ConfigLoader.

Throws:
Exception
Method Detail

getDelegate

public ConfigLoaderDelegate getDelegate()
Returns the delegate.

Returns:
ConfigLoaderDelegate

loadDomains

public boolean loadDomains(InputStream in)
Parses XML input, invoking delegate methods to interpret loaded XML.

Parameters:
in -
Returns:
boolean


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.