public class MethodJoinPointGenerator extends JoinPointGenerator
JoinPointGenerator.AdviceSetup, JoinPointGenerator.JoinPointParameters
ARGUMENTS, CALLER_FIELD, DISPATCH, EMPTY_CTCLASS_ARRAY, GENERATE_JOINPOINT_CLASS, GENERATED_CLASS_ADVISOR, INFO_FIELD, INITIALISE_LIGHTWEIGHT_INSTANCE_ASPECTS, INITIALISED_LIGHTWEIGHT_INSTANCE_ASPECTS, INVOKE_JOINPOINT, INVOKE_TARGET, IS_FOR_INSTANCE_ADVISOR, JOINPOINT_CLASS_PREFIX, JOINPOINT_FIELD_PREFIX, joinpointClassName, joinpointFieldName, TARGET_FIELD, THROWS_THROWABLE, TYPED_CALLER_FIELD, TYPED_TARGET_FIELD
Constructor and Description |
---|
MethodJoinPointGenerator(GeneratedClassAdvisor advisor,
MethodInfo info) |
Modifier and Type | Method and Description |
---|---|
protected static javassist.CtClass |
createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor,
javassist.CtClass advisedClass,
javassist.CtMethod targetMethod,
javassist.CtMethod wMethod,
String miname,
String originalMethodName,
String wrappedMethodName,
long hash) |
protected AdviceMethodProperties |
getAdviceMethodProperties(JoinPointBean joinPoint,
JoinPointGenerator.AdviceSetup setup) |
protected static String |
getGeneratedJoinPointFieldName(String methodName,
long hash) |
protected Class<?> |
getReturnClassType() |
protected boolean |
hasTargetObject() |
protected void |
initialiseJoinPointNames(JoinPointInfo info) |
protected boolean |
isVoid() |
addUntransformableInterface, addUntransformableInterface, generateJoinPointClass, generateJoinPointClass, getJoinPointArg, getJoinpointField, getMethodString, hasCallingObject, isCaller, overrideDispatchMethods, overrideDispatchMethods, rebindJoinpoint
public MethodJoinPointGenerator(GeneratedClassAdvisor advisor, MethodInfo info)
protected void initialiseJoinPointNames(JoinPointInfo info)
initialiseJoinPointNames
in class JoinPointGenerator
protected boolean isVoid()
isVoid
in class JoinPointGenerator
protected Class<?> getReturnClassType()
getReturnClassType
in class JoinPointGenerator
protected AdviceMethodProperties getAdviceMethodProperties(JoinPointBean joinPoint, JoinPointGenerator.AdviceSetup setup)
getAdviceMethodProperties
in class JoinPointGenerator
protected boolean hasTargetObject()
hasTargetObject
in class JoinPointGenerator
protected static javassist.CtClass createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor, javassist.CtClass advisedClass, javassist.CtMethod targetMethod, javassist.CtMethod wMethod, String miname, String originalMethodName, String wrappedMethodName, long hash) throws javassist.CannotCompileException, javassist.NotFoundException
javassist.CannotCompileException
javassist.NotFoundException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.