|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory
public class IntrospectionTypeInfoFactory
An introspection type factory that uses a static delegate.
This avoids recalculating things everytime a factory is constructed inside the same classloader
Field Summary | |
---|---|
protected static IntrospectionTypeInfoFactoryImpl |
delegate
The delegate |
Constructor Summary | |
---|---|
IntrospectionTypeInfoFactory()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static IntrospectionTypeInfoFactoryImpl delegate
Constructor Detail |
---|
public IntrospectionTypeInfoFactory()
Method Detail |
---|
public TypeInfo getTypeInfo(Class<?> clazz)
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
clazz
- the class
public TypeInfo getTypeInfo(String name, ClassLoader cl) throws ClassNotFoundException
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
name
- the class namecl
- the classloader
ClassNotFoundException
- when there is no such classpublic TypeInfo getTypeInfo(Type type)
TypeInfoFactory
getTypeInfo
in interface TypeInfoFactory
type
- the type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |