|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mybatis.generator.internal.ObjectFactory
public class ObjectFactory
This class creates the different object needed by the generator
Method Summary | |
---|---|
static CommentGenerator |
createCommentGenerator(Context context)
|
static java.lang.Object |
createExternalObject(java.lang.String type)
|
static java.lang.Object |
createInternalObject(java.lang.String type)
|
static IntrospectedColumn |
createIntrospectedColumn(Context context)
|
static IntrospectedTable |
createIntrospectedTable(TableConfiguration tableConfiguration,
FullyQualifiedTable table,
Context context)
|
static IntrospectedTable |
createIntrospectedTableForValidation(Context context)
This method creates an introspected table implementation that is only usable for validation (i.e. |
static JavaTypeResolver |
createJavaTypeResolver(Context context,
java.util.List<java.lang.String> warnings)
|
static Plugin |
createPlugin(Context context,
PluginConfiguration pluginConfiguration)
|
static java.lang.Class<?> |
externalClassForName(java.lang.String type)
This method returns a class loaded from the context classloader, or the classloader supplied by a client. |
static java.lang.Class<?> |
internalClassForName(java.lang.String type)
|
static void |
setExternalClassLoader(java.lang.ClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setExternalClassLoader(java.lang.ClassLoader classLoader)
public static java.lang.Class<?> externalClassForName(java.lang.String type) throws java.lang.ClassNotFoundException
type
-
java.lang.ClassNotFoundException
public static java.lang.Object createExternalObject(java.lang.String type)
public static java.lang.Class<?> internalClassForName(java.lang.String type) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static java.lang.Object createInternalObject(java.lang.String type)
public static JavaTypeResolver createJavaTypeResolver(Context context, java.util.List<java.lang.String> warnings)
public static Plugin createPlugin(Context context, PluginConfiguration pluginConfiguration)
public static CommentGenerator createCommentGenerator(Context context)
public static IntrospectedTable createIntrospectedTable(TableConfiguration tableConfiguration, FullyQualifiedTable table, Context context)
public static IntrospectedTable createIntrospectedTableForValidation(Context context)
context
-
public static IntrospectedColumn createIntrospectedColumn(Context context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |