Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.conf
Class ConfigLoader

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

    public class ConfigLoader

extends Object

Class that performs runtime loading of Cayenne configuration.

Author:
  Andrus Adamchik

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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