| java.lang.Object org.codehaus.aspectwerkz.joinpoint.management.JoinPointManager
JoinPointManager | public class JoinPointManager (Code) | | Manages the join point compilation, loading and instantiation for the target classes.
This implementation relies on the SystemDefinitionContainer.
author: Alexandre Vasseur author: Jonas BonŽr author: Alex Popescu |
Inner Class :public static class CompiledJoinPoint | |
Method Summary | |
public static CompiledJoinPoint | compileJoinPoint(int joinPointType, Class callerClass, String callerMethodName, String callerMethodDesc, int callerMethodModifiers, String calleeClassName, String calleeMemberName, String calleeMemberDesc, int calleeMemberModifiers, int joinPointHash, String joinPointClassName, Class calleeClass, ClassLoader loader) | public static AdviceInfoContainer | getAdviceInfoContainerForJoinPoint(ExpressionContext expressionContext, ClassLoader loader) Retrieves the advice info wrapped up in a struct. | public static String[] | getParameterNames(String adviceName) | public static void | loadJoinPoint(int joinPointType, Class callerClass, String callerMethodName, String callerMethodDesc, int callerMethodModifiers, String calleeClassName, String calleeMemberName, String calleeMemberDesc, int calleeMemberModifiers, int joinPointHash, String joinPointClassName) Ensures that the specific joinPoint class for the given target class and joinPoint info is generated. |
compileJoinPoint | public static CompiledJoinPoint compileJoinPoint(int joinPointType, Class callerClass, String callerMethodName, String callerMethodDesc, int callerMethodModifiers, String calleeClassName, String calleeMemberName, String calleeMemberDesc, int calleeMemberModifiers, int joinPointHash, String joinPointClassName, Class calleeClass, ClassLoader loader)(Code) | | Compile a new joinpoint
Parameters: joinPointType - Parameters: callerClass - Parameters: callerMethodName - Parameters: callerMethodDesc - Parameters: callerMethodModifiers - Parameters: calleeClassName - Parameters: calleeMemberName - Parameters: calleeMemberDesc - Parameters: calleeMemberModifiers - Parameters: joinPointHash - Parameters: joinPointClassName - Parameters: calleeClass - Parameters: loader - the loader that hosts the definitions, and from where caller, callee and aspect are visible.At runtime it is exactly callerClass.getClassLoader() but in offline mode and genjp, it can happen to bedifferent when weaved class also exists in the compilation classpath. |
getAdviceInfoContainerForJoinPoint | public static AdviceInfoContainer getAdviceInfoContainerForJoinPoint(ExpressionContext expressionContext, ClassLoader loader)(Code) | | Retrieves the advice info wrapped up in a struct.
Parameters: expressionContext - Parameters: loader - the advice info |
getParameterNames | public static String[] getParameterNames(String adviceName)(Code) | | Get the parameter names from a "method declaration" signature like pc(type a, type2 b) => 0:a, 1:b
Parameters: adviceName - the parameter names |
loadJoinPoint | public static void loadJoinPoint(int joinPointType, Class callerClass, String callerMethodName, String callerMethodDesc, int callerMethodModifiers, String calleeClassName, String calleeMemberName, String calleeMemberDesc, int calleeMemberModifiers, int joinPointHash, String joinPointClassName)(Code) | | Ensures that the specific joinPoint class for the given target class and joinPoint info is generated. This call
is added to the weaved class as a "clinit" block
Parameters: joinPointType - Parameters: callerClass - Parameters: callerMethodName - Parameters: callerMethodDesc - Parameters: callerMethodModifiers - Parameters: calleeClassName - Parameters: calleeMemberName - Parameters: calleeMemberDesc - Parameters: calleeMemberModifiers - Parameters: joinPointHash - Parameters: joinPointClassName - |
|
|