public class AdviceMethodProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdviceMethodProperties.OptionalParameters |
Modifier and Type | Field and Description |
---|---|
static int |
ARG_ARG |
static int |
ARGS_ARG |
static int |
CALLER_ARG |
static javassist.CtClass[] |
EMPTY_PARAMETERS |
static int |
INVOCATION_ARG |
static int |
JOINPOINT_ARG |
static int |
RETURN_ARG |
static int |
TARGET_ARG |
static int |
THROWABLE_ARG |
Constructor and Description |
---|
AdviceMethodProperties(JoinPointBean joinPoint,
Class<?> aspectClass,
String adviceName,
Class<?> thrownType,
Class<?> joinPointBeanType,
Class<?> invocationType,
Type joinpointReturnType,
Type[] joinpointParameters,
Class<?>[] joinpointParameterClassTypes,
Type[] joinpointExceptions,
Type target,
boolean targetAvailable) |
AdviceMethodProperties(JoinPointBean joinPoint,
Class<?> aspectClass,
String adviceName,
Class<?> thrownType,
Class<?> joinPointBeanType,
Class<?> invocationType,
Type joinpointReturnType,
Type[] joinpointParameters,
Class<?>[] joinpointParameterClassTypes,
Type[] joinpointExceptions,
Type target,
boolean targetAvailable,
Type caller,
boolean callerAvailable) |
AdviceMethodProperties(JoinPointBean joinPoint,
Class<?> aspectClass,
String adviceName,
Class<?> joinPointBeanType,
Class<?> invocationType,
Type joinpointReturnType,
Type[] joinpointParameters,
Class<?>[] joinpointParameterClassTypes,
Type[] joinpointExceptions,
Type target,
boolean targetAvailable) |
AdviceMethodProperties(JoinPointBean joinPoint,
Class<?> aspectClass,
String adviceName,
Class<?> joinPointBeanType,
Class<?> invocationType,
Type joinpointReturnType,
Type[] joinpointParameters,
Class<?>[] joinpointParameterClassTypes,
Type[] joinpointExceptions,
Type target,
boolean targetAvailable,
Type caller,
boolean callerAvailable) |
Modifier and Type | Method and Description |
---|---|
Method |
getAdviceMethod() |
String |
getAdviceName() |
int[] |
getArgs() |
Class<?> |
getAspectClass() |
Type |
getCallerType() |
Class<?> |
getInvocationType() |
JoinPointBean |
getJoinPoint() |
Class<?> |
getJoinPointBeanType() |
Type[] |
getJoinpointExceptions() |
Class<?>[] |
getJoinpointParameterClassTypes() |
Type[] |
getJoinpointParameters() |
Type |
getJoinpointReturnType() |
AdviceMethodProperties.OptionalParameters |
getOptionalParameters() |
Type |
getTargetType() |
Class<?> |
getThrownType() |
boolean |
isAdviceOverloaded() |
boolean |
isAdviceVoid() |
boolean |
isCallerAvailable() |
boolean |
isTargetAvailable() |
void |
setAdviceOverloaded(boolean overloaded) |
void |
setFoundProperties(Method adviceMethod,
int[] args) |
void |
setOptionalParameters(AdviceMethodProperties.OptionalParameters optionalParameters) |
public static final int JOINPOINT_ARG
public static final int INVOCATION_ARG
public static final int TARGET_ARG
public static final int RETURN_ARG
public static final int THROWABLE_ARG
public static final int ARGS_ARG
public static final int CALLER_ARG
public static final int ARG_ARG
public static final javassist.CtClass[] EMPTY_PARAMETERS
public AdviceMethodProperties(JoinPointBean joinPoint, Class<?> aspectClass, String adviceName, Class<?> joinPointBeanType, Class<?> invocationType, Type joinpointReturnType, Type[] joinpointParameters, Class<?>[] joinpointParameterClassTypes, Type[] joinpointExceptions, Type target, boolean targetAvailable)
public AdviceMethodProperties(JoinPointBean joinPoint, Class<?> aspectClass, String adviceName, Class<?> thrownType, Class<?> joinPointBeanType, Class<?> invocationType, Type joinpointReturnType, Type[] joinpointParameters, Class<?>[] joinpointParameterClassTypes, Type[] joinpointExceptions, Type target, boolean targetAvailable)
public AdviceMethodProperties(JoinPointBean joinPoint, Class<?> aspectClass, String adviceName, Class<?> joinPointBeanType, Class<?> invocationType, Type joinpointReturnType, Type[] joinpointParameters, Class<?>[] joinpointParameterClassTypes, Type[] joinpointExceptions, Type target, boolean targetAvailable, Type caller, boolean callerAvailable)
public AdviceMethodProperties(JoinPointBean joinPoint, Class<?> aspectClass, String adviceName, Class<?> thrownType, Class<?> joinPointBeanType, Class<?> invocationType, Type joinpointReturnType, Type[] joinpointParameters, Class<?>[] joinpointParameterClassTypes, Type[] joinpointExceptions, Type target, boolean targetAvailable, Type caller, boolean callerAvailable)
public void setFoundProperties(Method adviceMethod, int[] args)
public JoinPointBean getJoinPoint()
public String getAdviceName()
public Class<?> getAspectClass()
public Class<?> getThrownType()
public Class<?> getJoinPointBeanType()
public Class<?> getInvocationType()
public Type[] getJoinpointExceptions()
public Type[] getJoinpointParameters()
public Class<?>[] getJoinpointParameterClassTypes()
public Type getJoinpointReturnType()
public boolean isAdviceVoid() throws javassist.NotFoundException
javassist.NotFoundException
public Method getAdviceMethod()
public int[] getArgs()
public Type getTargetType()
public boolean isTargetAvailable()
public Type getCallerType()
public boolean isCallerAvailable()
public AdviceMethodProperties.OptionalParameters getOptionalParameters()
public void setOptionalParameters(AdviceMethodProperties.OptionalParameters optionalParameters)
public boolean isAdviceOverloaded()
public void setAdviceOverloaded(boolean overloaded)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.