org.progeeks.meta.xml
Class MetaClassLoader

java.lang.Object
  extended by org.progeeks.meta.xml.MetaClassLoader

public class MetaClassLoader
extends java.lang.Object

Utility class used to create meta-classes in XML as part of an application's configuration. The meta-class configuration can be specified as a file, class resource, or in-line XML. This class is meant to be used in an xml.preload block in an XML configuration. To specify XML inline, you will need to use the constructed bean handler declaration format. Example XML: <xml.preload> <metaClassLoader _ctor="file:data/pusher/metaclass-config.xml"/> </xml.preload>

Version:
$Revision: 1.2 $
Author:
Paul Wisneskey

Field Summary
static java.lang.String FILE_PREFIX
          Prefix used to indicate that the configuration string is a path to the config file.
static java.lang.String RESOURCE_PREFIX
          Prefix used to indicate that the configuration string is a path to a class resource.
static java.lang.String ROOT_TAG
          Root tag for the XML meta-class configuration.
 
Constructor Summary
MetaClassLoader(java.lang.String config)
          Constructor that loads the meta-classes from the supplied configuration.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_PREFIX

public static final java.lang.String FILE_PREFIX
Prefix used to indicate that the configuration string is a path to the config file.

See Also:
Constant Field Values

RESOURCE_PREFIX

public static final java.lang.String RESOURCE_PREFIX
Prefix used to indicate that the configuration string is a path to a class resource.

See Also:
Constant Field Values

ROOT_TAG

public static final java.lang.String ROOT_TAG
Root tag for the XML meta-class configuration.

See Also:
Constant Field Values
Constructor Detail

MetaClassLoader

public MetaClassLoader(java.lang.String config)
                throws java.io.IOException
Constructor that loads the meta-classes from the supplied configuration.

Throws:
java.io.IOException


Copyright © 2002-2003 Paul Speed. All Rights Reserved.