org.jboss.reflect.plugins.introspection
Class IntrospectionTypeInfoFactory
java.lang.Object
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory
- All Implemented Interfaces:
- TypeInfoFactory
public class IntrospectionTypeInfoFactory
- extends Object
- implements TypeInfoFactory
An introspection type factory that uses a static delegate.
This avoids recalculating things everytime a factory is
constructed inside the same classloader
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntrospectionTypeInfoFactory
public IntrospectionTypeInfoFactory()
getTypeInfo
public TypeInfo getTypeInfo(Class clazz)
- Description copied from interface:
TypeInfoFactory
- Get a type info
- Specified by:
getTypeInfo
in interface TypeInfoFactory
- Parameters:
clazz
- the class
- Returns:
- the type info
getTypeInfo
public TypeInfo getTypeInfo(String name,
ClassLoader cl)
throws ClassNotFoundException
- Description copied from interface:
TypeInfoFactory
- Get a type info
- Specified by:
getTypeInfo
in interface TypeInfoFactory
- Parameters:
name
- the class namecl
- the classloader
- Returns:
- the type info
- Throws:
ClassNotFoundException
- when there is no such class
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.