Package org.apache.ibatis.scripting
Class LanguageDriverRegistry
- java.lang.Object
-
- org.apache.ibatis.scripting.LanguageDriverRegistry
-
public class LanguageDriverRegistry extends Object
- Author:
- Frank D. Martinez [mnesarco]
-
-
Constructor Summary
Constructors Constructor Description LanguageDriverRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LanguageDriver
getDefaultDriver()
Class<? extends LanguageDriver>
getDefaultDriverClass()
LanguageDriver
getDriver(Class<? extends LanguageDriver> cls)
void
register(Class<? extends LanguageDriver> cls)
void
register(LanguageDriver instance)
void
setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass)
-
-
-
Method Detail
-
register
public void register(Class<? extends LanguageDriver> cls)
-
register
public void register(LanguageDriver instance)
-
getDriver
public LanguageDriver getDriver(Class<? extends LanguageDriver> cls)
-
getDefaultDriver
public LanguageDriver getDefaultDriver()
-
getDefaultDriverClass
public Class<? extends LanguageDriver> getDefaultDriverClass()
-
setDefaultDriverClass
public void setDefaultDriverClass(Class<? extends LanguageDriver> defaultDriverClass)
-
-