public class InterceptionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
POST_CONSTRUCT |
static String |
PRE_DESTROY |
Constructor and Description |
---|
InterceptionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> Class<T> |
createProxyClass(Class<T> proxyClass,
boolean forSubclassing) |
static <T> Class<T> |
createProxyClassWithHandler(ClassMetadata<T> proxyClass,
javassist.util.proxy.MethodHandler methodHandler) |
static void |
executePostConstruct(Object proxy) |
static void |
executePostConstruct(Object proxy,
Callable callback) |
static void |
executePredestroy(Object proxy) |
static void |
executePredestroy(Object proxy,
Callable callback) |
static Class<? extends Annotation> |
getExcludeClassInterceptorsAnnotationClass() |
static Class<? extends Annotation> |
getInterceptorsAnnotationClass() |
static boolean |
isInterceptionCandidate(Method method) |
static boolean |
supportsEjb3InterceptorDeclaration() |
public static final String POST_CONSTRUCT
public static final String PRE_DESTROY
public static void executePostConstruct(Object proxy)
public static void executePredestroy(Object proxy)
public static boolean isInterceptionCandidate(Method method)
method
- public static boolean supportsEjb3InterceptorDeclaration()
public static Class<? extends Annotation> getInterceptorsAnnotationClass()
public static Class<? extends Annotation> getExcludeClassInterceptorsAnnotationClass()
public static <T> Class<T> createProxyClass(Class<T> proxyClass, boolean forSubclassing)
public static <T> Class<T> createProxyClassWithHandler(ClassMetadata<T> proxyClass, javassist.util.proxy.MethodHandler methodHandler)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.