public class ConByMethodJoinPointGenerator extends JoinPointGenerator
JoinPointGenerator.AdviceSetup, JoinPointGenerator.JoinPointParameters| Modifier and Type | Field and Description |
|---|---|
static String |
JOINPOINT_CLASS_PREFIX |
static String |
JOINPOINT_FIELD_PREFIX |
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, joinpointClassName, joinpointFieldName, TARGET_FIELD, THROWS_THROWABLE, TYPED_CALLER_FIELD, TYPED_TARGET_FIELD| Constructor and Description |
|---|
ConByMethodJoinPointGenerator(GeneratedClassAdvisor advisor,
JoinPointInfo info) |
| Modifier and Type | Method and Description |
|---|---|
protected static javassist.CtClass |
createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor,
long callingHash,
boolean hasCallingObject,
javassist.CtClass callingClass,
javassist.CtConstructor targetCtor,
String classname,
long calledHash,
String ciname) |
protected AdviceMethodProperties |
getAdviceMethodProperties(JoinPointBean joinPoint,
JoinPointGenerator.AdviceSetup setup) |
protected static String |
getGeneratedJoinPointClassName(long callingHash,
String classname,
long calledHash) |
protected static String |
getGeneratedJoinPointFieldName(long callingHash,
String classname,
long calledHash) |
protected Class<?> |
getReturnClassType() |
protected boolean |
hasCallingObject() |
protected boolean |
hasTargetObject() |
protected void |
initialiseJoinPointNames(JoinPointInfo info) |
protected boolean |
isCaller() |
protected boolean |
isVoid() |
protected void |
overrideDispatchMethods(javassist.CtClass superClass,
javassist.CtClass clazz,
JoinPointInfo newInfo)
Normal people don't want to override the dispatch method
|
addUntransformableInterface, addUntransformableInterface, generateJoinPointClass, generateJoinPointClass, getJoinPointArg, getJoinpointField, getMethodString, overrideDispatchMethods, rebindJoinpointpublic static final String JOINPOINT_CLASS_PREFIX
public static final String JOINPOINT_FIELD_PREFIX
public ConByMethodJoinPointGenerator(GeneratedClassAdvisor advisor, JoinPointInfo info)
protected void initialiseJoinPointNames(JoinPointInfo info)
initialiseJoinPointNames in class JoinPointGeneratorprotected boolean isVoid()
isVoid in class JoinPointGeneratorprotected Class<?> getReturnClassType()
getReturnClassType in class JoinPointGeneratorprotected AdviceMethodProperties getAdviceMethodProperties(JoinPointBean joinPoint, JoinPointGenerator.AdviceSetup setup)
getAdviceMethodProperties in class JoinPointGeneratorprotected boolean isCaller()
isCaller in class JoinPointGeneratorprotected boolean hasCallingObject()
hasCallingObject in class JoinPointGeneratorprotected boolean hasTargetObject()
hasTargetObject in class JoinPointGeneratorprotected void overrideDispatchMethods(javassist.CtClass superClass,
javassist.CtClass clazz,
JoinPointInfo newInfo)
throws javassist.CannotCompileException,
javassist.NotFoundException
JoinPointGeneratoroverrideDispatchMethods in class JoinPointGeneratorjavassist.CannotCompileExceptionjavassist.NotFoundExceptionprotected static javassist.CtClass createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor, long callingHash, boolean hasCallingObject, javassist.CtClass callingClass, javassist.CtConstructor targetCtor, String classname, long calledHash, String ciname) throws javassist.NotFoundException, javassist.CannotCompileException
javassist.NotFoundExceptionjavassist.CannotCompileExceptionprotected static String getGeneratedJoinPointClassName(long callingHash, String classname, long calledHash)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.