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: 59386 $
- Author:
- Kabir Khan
Constructor Summary |
AdviceMethodProperties(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions)
|
AdviceMethodProperties(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions,
Class target,
boolean targetAvailable)
|
AdviceMethodProperties(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions,
Class target,
boolean targetAvailable,
Class 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(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions)
AdviceMethodProperties
public AdviceMethodProperties(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions,
Class target,
boolean targetAvailable)
AdviceMethodProperties
public AdviceMethodProperties(Class aspectClass,
String adviceName,
Class infoType,
Class invocationType,
Class joinpointReturnType,
Class[] joinpointParameters,
Class[] joinpointExceptions,
Class target,
boolean targetAvailable,
Class caller,
boolean callerAvailable)
setFoundProperties
public void setFoundProperties(Method adviceMethod,
int[] args)
getAdviceName
public String getAdviceName()
getAspectClass
public Class getAspectClass()
getInfoType
public Class getInfoType()
getInvocationType
public Class getInvocationType()
getJoinpointExceptions
public Class[] getJoinpointExceptions()
getJoinpointParameters
public Class[] getJoinpointParameters()
getJoinpointReturnType
public Class<?> getJoinpointReturnType()
isAdviceVoid
public boolean isAdviceVoid()
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
getAdviceMethod
public Method getAdviceMethod()
getArgs
public int[] getArgs()
getTargetType
public Class getTargetType()
isTargetAvailable
public boolean isTargetAvailable()
getCallerType
public Class getCallerType()
isCallerAvailable
public boolean isCallerAvailable()
getOptionalParameters
public AdviceMethodProperties.OptionalParameters getOptionalParameters()
setOptionalParameters
public void setOptionalParameters(AdviceMethodProperties.OptionalParameters optionalParameters)
Copyright © 2004 JBoss Inc. All Rights Reserved.