org.jboss.aop.advice
Class AdviceMethodProperties
java.lang.Object
org.jboss.aop.advice.AdviceMethodProperties
public class AdviceMethodProperties
- extends Object
Contains the properties of an advice method that we want to find.
Once found it is populated with the arguments
- Version:
- $Revision: 70826 $
- Author:
- Kabir Khan
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOINPOINT_ARG
public static final int JOINPOINT_ARG
- See Also:
- Constant Field Values
INVOCATION_ARG
public static final int INVOCATION_ARG
- See Also:
- Constant Field Values
TARGET_ARG
public static final int TARGET_ARG
- See Also:
- Constant Field Values
RETURN_ARG
public static final int RETURN_ARG
- See Also:
- Constant Field Values
THROWABLE_ARG
public static final int THROWABLE_ARG
- See Also:
- Constant Field Values
ARGS_ARG
public static final int ARGS_ARG
- See Also:
- Constant Field Values
CALLER_ARG
public static final int CALLER_ARG
- See Also:
- Constant Field Values
ARG_ARG
public static final int ARG_ARG
- See Also:
- Constant Field Values
EMPTY_PARAMETERS
public static final javassist.CtClass[] EMPTY_PARAMETERS
AdviceMethodProperties
public AdviceMethodProperties(JoinPointBean joinPoint,
Class<?> aspectClass,
String adviceName,
Class<?> joinPointBeanType,
Class<?> invocationType,
Type joinpointReturnType,
Type[] joinpointParameters,
Class<?>[] joinpointParameterClassTypes,
Type[] joinpointExceptions,
Type target,
boolean targetAvailable)
AdviceMethodProperties
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)
AdviceMethodProperties
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)
AdviceMethodProperties
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)
setFoundProperties
public void setFoundProperties(Method adviceMethod,
int[] args)
getJoinPoint
public JoinPointBean getJoinPoint()
getAdviceName
public String getAdviceName()
getAspectClass
public Class<?> getAspectClass()
getThrownType
public Class<?> getThrownType()
getJoinPointBeanType
public Class<?> getJoinPointBeanType()
getInvocationType
public Class<?> getInvocationType()
getJoinpointExceptions
public Type[] getJoinpointExceptions()
getJoinpointParameters
public Type[] getJoinpointParameters()
getJoinpointParameterClassTypes
public Class<?>[] getJoinpointParameterClassTypes()
getJoinpointReturnType
public Type getJoinpointReturnType()
isAdviceVoid
public boolean isAdviceVoid()
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
getAdviceMethod
public Method getAdviceMethod()
getArgs
public int[] getArgs()
getTargetType
public Type getTargetType()
isTargetAvailable
public boolean isTargetAvailable()
getCallerType
public Type getCallerType()
isCallerAvailable
public boolean isCallerAvailable()
getOptionalParameters
public AdviceMethodProperties.OptionalParameters getOptionalParameters()
setOptionalParameters
public void setOptionalParameters(AdviceMethodProperties.OptionalParameters optionalParameters)
isAdviceOverloaded
public boolean isAdviceOverloaded()
setAdviceOverloaded
public void setAdviceOverloaded(boolean overloaded)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.