Aspectj Cookbook

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X]

packages

     capturing all join points within     characteristic regions, declaring

     org.aspectj.langparameters

     checking     modularizing

     passed to method

     validatingpatterns

     abstract factory     applied as aspects     builder

     chain of responsibility

     command

     Director aspect-oriented

     factory method     interpreter

     iterator

     mediator     memento

     observer     prototype

         duplicate objects supported

     singleton, thread-safe implementation     state

     strategy

     template method

     visitor 2nd

PersistenceAspect aspect

persistStorage(ObjectStore) pointcut

pertarget(Pointcut) aspect instantiation policies

perthis(..) aspect instantiation policy

perthis(Pointcut) aspect instantiation policies

pointcutadviceexecution( ) pointcut

     as parameter declaration

pointcuts 2nd 3rd 4th 5th [See also join points]

     !within(CallRecipe+)

     advice     adviceexecution( )     anonymous 2nd

     args([TypePatterns \\| Identifiers]), capturing method call parameter values

     args([Types \\| Identifiers]) 2nd         exposing new field value

     aspects

         to be advised, specifying

     call(Signature)

         capturing method call parameter values 2nd

         capturing method call targets

         for constructors         inherited or overridden methods

         method capture example         simple class example

         static and dynamic targets     callFooIntStringPointcut( )

     callIntersectionFooOrBar( )

     captureCallParameters(int,String)     captureCallTarget(MyClass)

     captureThisDuringExecution(MyClass)     catchResourceConstruction( ) 2nd     catchResourceDestruction(Resource) 2nd

     catchStaticCallers( )

     catchThirdPartyConstructor( )

     cflow(Pointcut) 2nd 3rd

     cflowbelow( )     cflowbelow(Pointcut)

     change(..) abstract

     createURLCalledinMainMethod( )    evaluated as Boolean expressions

         combining using logical AND (&&)         combining using logical OR (\\|\\|)

         join points not caught by

         runtime condition evaluates to true     exception logging abstract

     exceptionsToBeLogged( ) 2nd

     excludeNonSingletons( )

    execution(Pointcuts)

         inherited or overridden methods

         static and dynamic targets 2nd

    execution(Signature)

         capturing excuting methods

         capturing ÒthisÓ reference value

         for constructors

     filteredExceptionCapture( )

     filteredPointsToBeTraced(Object)

     get(Signature)

         breaks encapsulation of private attributes         object's attribute, capturing when accessed         simple class, applied to

     getConstrantPointcut( )

     handler(TypePattern) 2nd         class hierarchy, simple

         exceptions 2nd

     idioms, Mik Krestein's standard 2nd

     initialization(Signature)

         for constructors

     for Java class and object initialization and construction stages

     javadoc tags, applying to    join points

         on Java methods         picking with

     mainApplicationInitialization( )     monitorMainApplicationProperty( )

     monitorMyClassProperty( )

     myClassConstructor( )     myClassObjectCreation( )

     myExceptionHandlerPointcut     named     persistStorage(ObjectStore)

     pointcutadviceexecution( )

         as parameter declaraion

     pointsToBeExcluded( ) 2nd

     pointsToBeTraced( ) 2nd     preinitialization(Signature), for constructors

     regionsOfInterest( )

     requestTriggered(..)     restoreStorage(ObjectStore)

     reusable definition library     reusable pointcut libraries, aTrack project (Ron Bodkin)

     reusing 2nd

     selectSingletons( ) pointcut     set(Signature)

     solitary adviceexecution( )

     staticinitialization(TypePattern), for constructors

     target([Type \\| Identifier])

     target(TypePattern \\| Identifier)

     this([Type \\| Identifier]) 2nd 3rd 4th

     this(TypePattern \\| Identifier)

     traceCalls( )

     tracedCalls( )

     transactionBoundary( )

     transactionCall( )

     within( ), NOT (!) operator use

     within(TypePattern)

         capturing all join points within a package         class instantiation, overriding     withincode(Signature)

         class instantiation, overriding

         key characteristics pointsToBeExcluded( ) pointcut 2nd

pointsToBeTraced( ) pointcut 2nd

policies

     issingleton( ) aspect instantiation 2nd

     pertarget(Pointcut) aspect instantiation

     perthis(..) aspect instantiation

     perthis(Pointcut) aspect instantiation     scope, applying consistent

     security policy design pattern

     collaborates with     ProjectPolicyAspect

     ProjectSubAreaPolicyAspect

preinitialization(Signature) pointcut, for constructors PrintableCharacter class, managed as flyweight

PrintableCharacterFlyweight aspect PrintButton class PrintDialog class

Printer class

PrinterScreenAdapter aspect

proceed( ) call

programmatic constructs, controlling Programming Apache Axis (Christopher Haddad, Kevin Bedell, and Paul Brown)

ProjectPolicyAspect aspect

prototype pattern     duplicate objects supported

proxy design patterns ProxyPattern abstract aspect

pseudo TCPConnection class

public String[] getParameterNames( )

Категории