org.jboss.reflect.spi
Interface TypeInfoFactory

All Known Implementing Classes:
IntrospectionTypeInfoFactory, IntrospectionTypeInfoFactoryImpl

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
 

Method Detail

getTypeInfo

public 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

public TypeInfo getTypeInfo(Class clazz)
Get a type info

Parameters:
clazz - the class
Returns:
the type info


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.