| java.lang.Object org.codehaus.aspectwerkz.transform.aopalliance.AopAllianceAspectModel org.codehaus.aspectwerkz.transform.spring.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 |
ASPECT_MODEL_TYPE | final protected static String ASPECT_MODEL_TYPE(Code) | | |
createAfterAdviceArgumentHandling | public void createAfterAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code) | | Handles the arguments to the after advice.
Parameters: cv - Parameters: adviceMethodInfo - |
createBeforeAdviceArgumentHandling | public void createBeforeAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code) | | Handles the arguments to the before advice.
Parameters: cv - Parameters: adviceMethodInfo - |
createMandatoryMethods | public void createMandatoryMethods(ClassWriter cw, String className)(Code) | | Creates the methods required to implement or extend to implement the closure for the specific
aspect model type.
Parameters: cw - Parameters: className - |
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 org.codehaus.aspectwerkz.transform.aopalliance.AopAllianceAspectModel | public void createAfterAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code)(Java Doc) public void createAroundAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code)(Java Doc) public void createAspectInstantiation(CodeVisitor cv, AspectInfo aspectInfo, String joinPointClassName)(Code)(Java Doc) public void createAspectReferenceField(ClassWriter cw, AspectInfo aspectInfo, String joinPointClassName)(Code)(Java Doc) public void createBeforeAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code)(Java Doc) public void createInvocationOfAroundClosureSuperClass(CodeVisitor cv)(Code)(Java Doc) public void createMandatoryMethods(ClassWriter cw, String className)(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 boolean requiresReflectiveInfo()(Code)(Java Doc)
|
|
|