|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.annotation.Java5AnnotationInvocationHandler
public class Java5AnnotationInvocationHandler
Dynamic proxy handler for ASM Annotations we extract The handler resolve the LazyClass to a concrete Class so that the proxy creation does not trigger any class loading.
Method Summary | |
---|---|
static Annotation |
getAnnotationProxy(org.objectweb.asm.attrs.Annotation annotation,
ClassLoader loader)
Build and return a dynamic proxy representing the given ASM Annotation. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Dynamic proxy based implementation toString(), annotationType() and value() have a specific behavior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
proxy
- method
- args
-
Throwable
public static Annotation getAnnotationProxy(org.objectweb.asm.attrs.Annotation annotation, ClassLoader loader)
annotation
- loader
- the classloader of the annotatED component (can be different from the one of the annotation class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |