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