org.jboss.aop.instrument
Class MethodByConJoinPointGenerator
java.lang.Object
org.jboss.aop.instrument.JoinPointGenerator
org.jboss.aop.instrument.MethodByConJoinPointGenerator
public class MethodByConJoinPointGenerator
- extends JoinPointGenerator
Method Summary |
protected static javassist.CtClass |
createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor,
int callingIndex,
javassist.CtClass callingClass,
javassist.CtMethod targetMethod,
String classname,
long calledHash,
String ciname)
|
protected AdviceMethodProperties |
getAdviceMethodProperties(JoinPointGenerator.AdviceSetup setup)
|
protected static String |
getInfoClassName(int callingIndex,
String classname,
long calledHash)
|
protected static String |
getInfoFieldName(int callingIndex,
String classname,
long calledHash)
|
protected String |
getJoinPointGeneratorFieldName()
|
protected static String |
getJoinPointGeneratorFieldName(int callingIndex,
String classname,
long calledHash)
|
protected Class |
getReturnType()
|
protected boolean |
hasCallingObject()
|
protected boolean |
hasTargetObject()
|
protected void |
initialiseJoinPointNames()
|
protected boolean |
isCaller()
|
protected boolean |
isVoid()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENERATOR_PREFIX
public static final String GENERATOR_PREFIX
- See Also:
- Constant Field Values
JOINPOINT_CLASS_PREFIX
public static final String JOINPOINT_CLASS_PREFIX
- See Also:
- Constant Field Values
JOINPOINT_FIELD_PREFIX
public static final String JOINPOINT_FIELD_PREFIX
- See Also:
- Constant Field Values
MethodByConJoinPointGenerator
public MethodByConJoinPointGenerator(GeneratedClassAdvisor advisor,
JoinPointInfo info)
initialiseJoinPointNames
protected void initialiseJoinPointNames()
- Specified by:
initialiseJoinPointNames
in class JoinPointGenerator
isVoid
protected boolean isVoid()
- Specified by:
isVoid
in class JoinPointGenerator
getReturnType
protected Class getReturnType()
- Specified by:
getReturnType
in class JoinPointGenerator
getAdviceMethodProperties
protected AdviceMethodProperties getAdviceMethodProperties(JoinPointGenerator.AdviceSetup setup)
- Specified by:
getAdviceMethodProperties
in class JoinPointGenerator
isCaller
protected boolean isCaller()
- Overrides:
isCaller
in class JoinPointGenerator
hasCallingObject
protected boolean hasCallingObject()
- Overrides:
hasCallingObject
in class JoinPointGenerator
hasTargetObject
protected boolean hasTargetObject()
- Specified by:
hasTargetObject
in class JoinPointGenerator
createJoinpointBaseClass
protected static javassist.CtClass createJoinpointBaseClass(GeneratedAdvisorInstrumentor instrumentor,
int callingIndex,
javassist.CtClass callingClass,
javassist.CtMethod targetMethod,
String classname,
long calledHash,
String ciname)
throws javassist.NotFoundException,
javassist.CannotCompileException
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
getJoinPointGeneratorFieldName
protected String getJoinPointGeneratorFieldName()
- Specified by:
getJoinPointGeneratorFieldName
in class JoinPointGenerator
getInfoClassName
protected static String getInfoClassName(int callingIndex,
String classname,
long calledHash)
getInfoFieldName
protected static String getInfoFieldName(int callingIndex,
String classname,
long calledHash)
getJoinPointGeneratorFieldName
protected static String getJoinPointGeneratorFieldName(int callingIndex,
String classname,
long calledHash)
Copyright © 2004 JBoss Inc. All Rights Reserved.