org.apache.cayenne.conf
Class ConfigLoader
java.lang.Object
   org.apache.cayenne.conf.ConfigLoader
org.apache.cayenne.conf.ConfigLoader
- public class ConfigLoader 
- extends Object
Class that performs runtime loading of Cayenne configuration.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
parser
protected XMLReader parser
delegate
protected ConfigLoaderDelegate delegate
ConfigLoader
public ConfigLoader(ConfigLoaderDelegate delegate)
             throws Exception
- Creates new ConfigLoader.
 
- Throws:
- Exception
 
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.