public abstract class MetaTypeFactory extends Object
| Constructor and Description |
|---|
MetaTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static MetaTypeFactory |
getInstance()
Get the metatype factory
|
MetaType |
resolve(String className,
ClassLoader classLoader)
Resolve a metatype
|
abstract MetaType |
resolve(Type type)
Resolve a metatype
|
abstract MetaType |
resolve(org.jboss.reflect.spi.TypeInfo type)
Resolve a metatype
|
abstract void |
setBuilder(Class<?> clazz,
MetaTypeBuilder builder)
Set a meta type builder
|
public static final MetaTypeFactory getInstance()
public abstract MetaType resolve(Type type)
type - the typeIllegalArgumentException - for a null typepublic abstract MetaType resolve(org.jboss.reflect.spi.TypeInfo type)
type - the typeIllegalArgumentException - for a null typepublic MetaType resolve(String className, ClassLoader classLoader) throws ClassNotFoundException
className - the class nameclassLoader - the classloaderIllegalArgumentException - for a null className or classloaderClassNotFoundException - when the class is not foundpublic abstract void setBuilder(Class<?> clazz, MetaTypeBuilder builder)
clazz - the classbuilder - the builderCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.