Package | Description |
---|---|
org.apache.webbeans.proxy |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractProxyFactory.createArrayDefinition(org.objectweb.asm.MethodVisitor mv,
int size,
Class<?> type)
pushes an array of the specified size to the method visitor.
|
protected void |
SubclassProxyFactory.createConstructor(org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
String classFileName) |
protected abstract void |
AbstractProxyFactory.createConstructor(org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
String classFileName)
Each of our interceptor/decorator proxies has exactly 1 constructor
which invokes the super ct + sets the delegation field.
|
protected void |
InterceptorDecoratorProxyFactory.createConstructor(org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
String classFileName)
Each of our interceptor/decorator proxies has exactly 1 constructor
which invokes the super ct + sets the delegation field.
|
protected void |
NormalScopeProxyFactory.createConstructor(org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
String classFileName) |
<T> Class<T> |
InterceptorDecoratorProxyFactory.createProxyClass(javax.enterprise.inject.spi.Bean<T> bean,
ClassLoader classLoader,
Class<T> classToProxy,
Method[] interceptedMethods,
Method[] nonInterceptedMethods)
Create a decorator and interceptor proxy for the given type.
|
<T> Class<T> |
NormalScopeProxyFactory.createProxyClass(ClassLoader classLoader,
Class<T> classToProxy) |
protected <T> Class<T> |
AbstractProxyFactory.createProxyClass(ClassLoader classLoader,
String proxyClassName,
Class<T> classToProxy,
Method[] interceptedMethods,
Method[] nonInterceptedMethods) |
<T> T |
InterceptorDecoratorProxyFactory.createProxyInstance(Class<? extends T> proxyClass,
T instance,
InterceptorHandler interceptorDecoratorStack) |
<T> T |
NormalScopeProxyFactory.createProxyInstance(Class<T> proxyClass,
javax.inject.Provider provider) |
<T> Class<T> |
SubclassProxyFactory.createSubClass(ClassLoader classLoader,
Class<T> classToProxy) |
protected void |
SubclassProxyFactory.delegateInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] interceptedMethods) |
protected abstract void |
AbstractProxyFactory.delegateInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] interceptedMethods)
generate the bytecode for invoking all intercepted methods
|
protected void |
InterceptorDecoratorProxyFactory.delegateInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] interceptedMethods) |
protected void |
NormalScopeProxyFactory.delegateInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] interceptedMethods)
In the NormalScope proxying case this is used for all the protected methods
as they need to get invoked via reflection.
|
protected void |
SubclassProxyFactory.delegateNonInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] noninterceptedMethods) |
protected abstract void |
AbstractProxyFactory.delegateNonInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] noninterceptedMethods)
generate the bytecode for invoking all non-intercepted methods
|
protected void |
NormalScopeProxyFactory.delegateNonInterceptedMethods(ClassLoader classLoader,
org.objectweb.asm.ClassWriter cw,
String proxyClassFileName,
Class<?> classToProxy,
Method[] noninterceptedMethods) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.