org.jboss.reflect.spi
Interface TypeInfoFactory

All Known Implementing Classes:
IntrospectionAnnotationHelper, IntrospectionTypeInfoFactory, IntrospectionTypeInfoFactoryImpl, JavassistAnnotationHelper, JavassistTypeInfoFactory, JavassistTypeInfoFactoryImpl

public interface TypeInfoFactory

A type info factory.

Author:
Adrian Brock

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
 

Method Detail

getTypeInfo

TypeInfo getTypeInfo(String name,
                     ClassLoader cl)
                     throws ClassNotFoundException
Get a type info

Parameters:
name - the class name
cl - the classloader
Returns:
the type info
Throws:
ClassNotFoundException - when there is no such class

getTypeInfo

TypeInfo getTypeInfo(Class<?> clazz)
Get a type info

Parameters:
clazz - the class
Returns:
the type info

getTypeInfo

TypeInfo getTypeInfo(Type type)
Get a type info

Parameters:
type - the type
Returns:
the type info


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.