public class IntrospectionTypeInfoFactory extends Object implements TypeInfoFactory
This avoids recalculating things everytime a factory is constructed inside the same classloader
Modifier and Type | Field and Description |
---|---|
protected static IntrospectionTypeInfoFactoryImpl |
delegate
The delegate
|
Constructor and Description |
---|
IntrospectionTypeInfoFactory() |
Modifier and Type | Method and Description |
---|---|
TypeInfo |
getTypeInfo(Class<?> clazz)
Get a type info
|
TypeInfo |
getTypeInfo(String name,
ClassLoader cl)
Get a type info
|
TypeInfo |
getTypeInfo(Type type)
Get a type info
|
protected static IntrospectionTypeInfoFactoryImpl delegate
public TypeInfo getTypeInfo(Class<?> clazz)
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
clazz
- the classpublic TypeInfo getTypeInfo(String name, ClassLoader cl) throws ClassNotFoundException
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
name
- the class namecl
- the classloaderClassNotFoundException
- when there is no such classpublic TypeInfo getTypeInfo(Type type)
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
type
- the typeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.