public class Configuration extends Object
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
addClasspathEntry(String entry) |
void |
addContext(Context context) |
List<String> |
getClassPathEntries() |
Context |
getContext(String id) |
List<Context> |
getContexts() |
Document |
toDocument()
Builds an XML representation of this configuration.
|
void |
validate()
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.
|
public void addClasspathEntry(String entry)
public List<String> getClassPathEntries()
public void validate() throws InvalidConfigurationException
InvalidConfigurationException
public void addContext(Context context)
public Document toDocument()
Copyright © 2010–2018 MyBatis.org. All rights reserved.