| java.lang.Object com.tc.aspectwerkz.transform.inlining.model.AopAllianceAspectModel com.tc.aspectwerkz.transform.inlining.model.SpringAspectModel
SpringAspectModel | public class SpringAspectModel extends AopAllianceAspectModel (Code) | | Implementation of the AspectModel interface for Spring framework.
Provides methods for definition of aspects and framework specific bytecode generation
used by the join point compiler.
author: Jonas Bonér |
Method Summary | |
public void | createAfterAdviceArgumentHandling(MethodVisitor cv, AdviceMethodInfo adviceMethodInfo, int joinPointInstanceIndex) Handles the arguments to the after advice. | public void | createBeforeAdviceArgumentHandling(MethodVisitor cv, AdviceMethodInfo adviceMethodInfo, int joinPointInstanceIndex) Handles the arguments to the before advice. | public void | createBeforeOrAfterAdviceArgumentHandling(MethodVisitor methodVisitor, CompilerInput compilerInput, Type[] types, AdviceMethodInfo adviceMethodInfo, int i) | public void | defineAspect(ClassInfo classInfo, AspectDefinition aspectDef, ClassLoader loader) Defines the aspect. | public AroundClosureClassInfo | getAroundClosureClassInfo() Returns info about the closure class, name and type (interface or class). | public String | getAspectModelType() Returns the aspect model type, which is an id for the the special aspect model, can be anything as long
as it is unique. |
ASPECT_MODEL_TYPE | final protected static String ASPECT_MODEL_TYPE(Code) | | |
createAfterAdviceArgumentHandling | public void createAfterAdviceArgumentHandling(MethodVisitor cv, AdviceMethodInfo adviceMethodInfo, int joinPointInstanceIndex)(Code) | | Handles the arguments to the after advice.
|
createBeforeAdviceArgumentHandling | public void createBeforeAdviceArgumentHandling(MethodVisitor cv, AdviceMethodInfo adviceMethodInfo, int joinPointInstanceIndex)(Code) | | Handles the arguments to the before advice.
|
getAroundClosureClassInfo | public AroundClosureClassInfo getAroundClosureClassInfo()(Code) | | Returns info about the closure class, name and type (interface or class).
the closure class info |
getAspectModelType | public String getAspectModelType()(Code) | | Returns the aspect model type, which is an id for the the special aspect model, can be anything as long
as it is unique.
the aspect model type id |
Methods inherited from com.tc.aspectwerkz.transform.inlining.model.AopAllianceAspectModel | public void createAndStoreRuntimeAspectInstantiation(MethodVisitor methodVisitor, CompilerInput compilerInput, AspectInfo aspectInfo)(Code)(Java Doc) public void createAndStoreStaticAspectInstantiation(ClassVisitor classVisitor, MethodVisitor methodVisitor, AspectInfo aspectInfo, String joinPointClassName)(Code)(Java Doc) public void createAroundAdviceArgumentHandling(MethodVisitor methodVisitor, CompilerInput compilerInput, Type[] types, AdviceMethodInfo adviceMethodInfo)(Code)(Java Doc) public void createBeforeOrAfterAdviceArgumentHandling(MethodVisitor methodVisitor, CompilerInput compilerInput, Type[] types, AdviceMethodInfo adviceMethodInfo, int i)(Code)(Java Doc) public void createInvocationOfAroundClosureSuperClass(MethodVisitor cv)(Code)(Java Doc) public void createMandatoryMethods(ClassWriter cw, JoinPointCompiler compiler)(Code)(Java Doc) public void defineAspect(ClassInfo classInfo, AspectDefinition aspectDef, ClassLoader loader)(Code)(Java Doc) public AroundClosureClassInfo getAroundClosureClassInfo()(Code)(Java Doc) public String getAspectModelType()(Code)(Java Doc) public AspectModel getInstance(CompilationInfo.Model compilationModel)(Code)(Java Doc) public void loadAspect(MethodVisitor methodVisitor, CompilerInput compilerInput, AspectInfo aspectInfo)(Code)(Java Doc) public boolean requiresReflectiveInfo()(Code)(Java Doc)
|
|
|