public interface ClassAdapterFactory
The ClassAdapterFactory serves as the entry point for deciding whether it supports the class. e.g. the AOP ClassAdapterFactory may return null allowing the microcontainer to default back to reflection for the class.
Modifier and Type | Method and Description |
---|---|
ClassAdapter |
getClassAdapter(Class<?> clazz)
Get a class adapter
|
ClassAdapter |
getClassAdapter(String name,
ClassLoader cl)
Get a class adapter
|
ClassAdapter |
getClassAdapter(TypeInfo typeInfo)
Get a class adapter
|
Configuration |
getConfiguration()
Get the configuration.
|
void |
setConfiguration(Configuration configuration)
Set the typeInfoFactory.
|
ClassAdapter getClassAdapter(String name, ClassLoader cl) throws ClassNotFoundException
name
- the class namecl
- the classloaderClassNotFoundException
- when there is no such classClassAdapter getClassAdapter(Class<?> clazz)
clazz
- the classClassAdapter getClassAdapter(TypeInfo typeInfo)
typeInfo
- the type infoConfiguration getConfiguration()
void setConfiguration(Configuration configuration)
configuration
- the configuration.Copyright © 2015 JBoss by Red Hat. All rights reserved.