org.jboss.aop.reflectprototype
Class JavassistAopTypeInfoFactoryImpl
java.lang.Object
org.jboss.util.collection.WeakClassCache
org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl
org.jboss.aop.reflectprototype.JavassistAopTypeInfoFactoryImpl
- All Implemented Interfaces:
- org.jboss.reflect.plugins.AnnotationHelper, org.jboss.reflect.spi.TypeInfoFactory
public class JavassistAopTypeInfoFactoryImpl
- extends org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl
A JavassistAopTypeInfoFactoryImpl.
- Version:
- $Revision: 1.1 $
- Author:
- Stale W. Pedersen
Fields inherited from class org.jboss.util.collection.WeakClassCache |
cache |
Methods inherited from class org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl |
convertName, createAnnotationValue, generate, getAnnotations, getCtClass, getTypeInfo, getTypeInfo, instantiate, raiseClassNotFound, raiseClassNotFound, raiseFieldNotFound, raiseMethodNotFound |
Methods inherited from class org.jboss.util.collection.WeakClassCache |
getClassLoaderCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavassistAopTypeInfoFactoryImpl
public JavassistAopTypeInfoFactoryImpl()
get
public Object get(String name,
ClassLoader cl)
throws ClassNotFoundException
- Get the information for a class
- Overrides:
get
in class org.jboss.util.collection.WeakClassCache
- Parameters:
name
- the namecl
- the classloader
- Returns:
- the info
- Throws:
ClassNotFoundException
- when the class cannot be found
get
public Object get(javassist.CtClass clazz)
- Get the information for a class
- Parameters:
clazz
- the class
- Returns:
- the info
get
public Object get(Class clazz)
- Get the information for a class
- Overrides:
get
in class org.jboss.util.collection.WeakClassCache
- Parameters:
clazz
- the class
- Returns:
- the info
instantiate
protected Object instantiate(javassist.CtClass ctClass)
getTypeInfo
public org.jboss.reflect.spi.TypeInfo getTypeInfo(String name,
ClassLoader cl)
throws ClassNotFoundException
- Specified by:
getTypeInfo
in interface org.jboss.reflect.spi.TypeInfoFactory
- Overrides:
getTypeInfo
in class org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl
- Throws:
ClassNotFoundException
getTypeInfo
public org.jboss.reflect.spi.TypeInfo getTypeInfo(javassist.CtClass clazz)
- Overrides:
getTypeInfo
in class org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.