org.jboss.aop.reflectprototype
Class JavassistAopTypeInfoFactoryImpl

java.lang.Object
  extended by org.jboss.util.collection.WeakClassCache
      extended by org.jboss.reflect.plugins.javassist.JavassistTypeInfoFactoryImpl
          extended by 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

Field Summary
 
Fields inherited from class org.jboss.util.collection.WeakClassCache
cache
 
Constructor Summary
JavassistAopTypeInfoFactoryImpl()
           
 
Method Summary
 Object get(Class clazz)
          Get the information for a class
 Object get(javassist.CtClass clazz)
          Get the information for a class
 Object get(String name, ClassLoader cl)
          Get the information for a class
 org.jboss.reflect.spi.TypeInfo getTypeInfo(javassist.CtClass clazz)
           
 org.jboss.reflect.spi.TypeInfo getTypeInfo(String name, ClassLoader cl)
           
protected  Object instantiate(javassist.CtClass ctClass)
           
 
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
 

Constructor Detail

JavassistAopTypeInfoFactoryImpl

public JavassistAopTypeInfoFactoryImpl()
Method Detail

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 name
cl - 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.