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() |
List<Context> |
getContexts() |
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 void validate() throws InvalidConfigurationException
InvalidConfigurationException
- the invalid configuration exceptionpublic void addContext(Context context)
Copyright © 2006–2023 MyBatis.org. All rights reserved.