|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.reflect.plugins.bytecode.BytecodeTypeInfoFactory
public class BytecodeTypeInfoFactory
An javassist type factory that uses a static delegate.
This avoids recalculating things everytime a factory is constructed inside the same classloader
| Field Summary | |
|---|---|
protected static BytecodeTypeInfoFactoryImpl |
delegate
The delegate |
| Constructor Summary | |
|---|---|
BytecodeTypeInfoFactory()
|
|
| Method Summary | |
|---|---|
ClassLoaderFinder |
getClassLoaderFinder()
Get the classloader finder |
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 |
void |
setClassLoaderFinder(ClassLoaderFinder finder)
Set the classloader finder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static BytecodeTypeInfoFactoryImpl delegate
| Constructor Detail |
|---|
public BytecodeTypeInfoFactory()
| Method Detail |
|---|
public TypeInfo getTypeInfo(Class<?> clazz)
TypeInfoFactory
getTypeInfo in interface TypeInfoFactoryclazz - the class
public TypeInfo getTypeInfo(String name,
ClassLoader cl)
throws ClassNotFoundException
TypeInfoFactory
getTypeInfo in interface TypeInfoFactoryname - the class namecl - the classloader
ClassNotFoundException - when there is no such classpublic TypeInfo getTypeInfo(Type type)
TypeInfoFactory
getTypeInfo in interface TypeInfoFactorytype - the type
public ClassLoaderFinder getClassLoaderFinder()
public void setClassLoaderFinder(ClassLoaderFinder finder)
the - classloader finder. If null is passed in ClassLoaderFinder.Default is used
|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||