public abstract class DeltaSpikeProxyFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DeltaSpikeProxyFactory.GeneratorHolder |
Constructor and Description |
---|
DeltaSpikeProxyFactory() |
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Method> |
collectAllMethods(Class<?> clazz) |
protected String |
constructProxyClassName(Class<?> clazz) |
protected static String |
constructSuperAccessorMethodName(Method method) |
protected boolean |
containsInterceptorBinding(javax.enterprise.inject.spi.BeanManager beanManager,
Annotation[] annotations) |
protected ArrayList<Method> |
filterInterceptMethods(Class<?> targetClass,
ArrayList<Method> allMethods) |
protected Class<?>[] |
getAdditionalInterfacesToImplement(Class<?> targetClass) |
protected abstract ArrayList<Method> |
getDelegateMethods(Class<?> targetClass,
ArrayList<Method> allMethods) |
<T> Class<T> |
getProxyClass(javax.enterprise.inject.spi.BeanManager beanManager,
Class<T> targetClass) |
<T> Class<T> |
getProxyClass(javax.enterprise.inject.spi.BeanManager beanManager,
Class<T> targetClass,
Class<? extends InvocationHandler> delegateInvocationHandlerClass) |
protected abstract String |
getProxyClassSuffix() |
static Method |
getSuperAccessorMethod(Object proxy,
Method method) |
protected boolean |
hasSameSignature(Method a,
Method b) |
protected boolean |
ignoreMethod(Method method,
List<Method> methods) |
boolean |
isProxyClass(Class<?> clazz)
Checks if the given class is DS proxy class.
|
<T> Class<T> |
resolveAlreadyDefinedProxyClass(Class<T> targetClass) |
public <T> Class<T> resolveAlreadyDefinedProxyClass(Class<T> targetClass)
public <T> Class<T> getProxyClass(javax.enterprise.inject.spi.BeanManager beanManager, Class<T> targetClass, Class<? extends InvocationHandler> delegateInvocationHandlerClass)
public <T> Class<T> getProxyClass(javax.enterprise.inject.spi.BeanManager beanManager, Class<T> targetClass)
protected boolean containsInterceptorBinding(javax.enterprise.inject.spi.BeanManager beanManager, Annotation[] annotations)
protected static String constructSuperAccessorMethodName(Method method)
public static Method getSuperAccessorMethod(Object proxy, Method method) throws NoSuchMethodException
NoSuchMethodException
public boolean isProxyClass(Class<?> clazz)
clazz
- protected ArrayList<Method> filterInterceptMethods(Class<?> targetClass, ArrayList<Method> allMethods)
protected Class<?>[] getAdditionalInterfacesToImplement(Class<?> targetClass)
protected abstract ArrayList<Method> getDelegateMethods(Class<?> targetClass, ArrayList<Method> allMethods)
protected abstract String getProxyClassSuffix()
Copyright © 2016 The Apache Software Foundation. All rights reserved.