org.apache.ibatis.ibator.config
Class IbatorConfiguration
java.lang.Object
org.apache.ibatis.ibator.config.IbatorConfiguration
public class IbatorConfiguration
- extends java.lang.Object
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IbatorConfiguration
public IbatorConfiguration()
addClasspathEntry
public void addClasspathEntry(java.lang.String entry)
getClassPathEntries
public java.util.List<java.lang.String> getClassPathEntries()
- Returns:
- Returns the classPathEntries.
validate
public void validate()
throws InvalidConfigurationException
- This method does a simple validate, it makes sure that all required
fields have been filled in and that all implementation classes exist and
are of the proper type. It does not do any more complex operations such
as: validating that database tables exist or validating that named
columns exist
- Throws:
InvalidConfigurationException
getIbatorContexts
public java.util.List<IbatorContext> getIbatorContexts()
addIbatorContext
public void addIbatorContext(IbatorContext ibatorContext)
getIbatorContext
public IbatorContext getIbatorContext(java.lang.String id)
toDocument
public Document toDocument()
- Builds an XML representation of this configuration. This
can be used to persist a programtically generated
configuration.
- Returns:
- the XML representation of this configuration