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]

call(Signature) pointcut

     capturing method call parameter values 2nd     capturing method call targets

     for constructors     inherited or overridden methods

     simple class example     specific method capture example

     static and dynamic targets

callFooIntStringPointcut( ) pointcut callIntersectionFooOrBar( ) pointcut

CallRecipe aspect 2nd 3rdcalls    constructors

         capturing

         class instantiation, controlling

     logging class, refactoring

     proceed( )     to methods, capturing

captureCallParameters(int,String) pointcut

captureCallTarget(MyClass) pointcut captureThisDuringExecution(MyClass) pointcut

CatchClauseSignature interface catchResourceConstruction( ) pointcut 2nd

catchResourceDestruction(Resource) pointcut 2nd

catchStaticCallers( ) pointcut catchThirdPartyConstructor( ) pointcut

cflow(Pointcut) pointcut 2nd 3rd

cflowbelow( ) pointcut

cflowbelow(Pointcut) pointcut

chain of responsibility design pattern

ChainOfResponsibilityPattern abstract aspect

change(..) abstract pointcut

ClassCastException errors

classes

     accept(Visitor)

     adding interfaces using aspects

     applying new interface to

     AspectJ runtime API packages

     behavior induced across multiple classes     BubbleSorter     BusinessCard

     BusinessResource

     BusinessResourcePool     capturing all join points for within a package

     characteristic regions, declaring

     client decoupling

     com.oreilly.aspectjcookbook.MainApplication

     ConcreteClassA

     ConcreteClassB

     constructor, no default     decoupling from underlying implementation characteristics

     Employee     EmployeeCollection 2nd

     extending existing     factory

     getDeclaringType( ) public Class

     getDescription( )     getExceptionTypes( ) public Class[]

     getFieldType( ) public Class     getParameterTypes( ) public Class[]     getReturnType( ) public Class 2nd

     getWithinType( ) public Class

     inheritance, new, relationship between

     instantiated on call to constructor, overriding

     instantiating groups of related     instantiation delayed

     JoinPoint

     LazyFeatureProxy     LinearSorter

     MainApplication     Manager

     NoAspectBoundException

     org.aspectj.lang.SoftException runtime exception     OriginalClass

     persistence, adding

     PrintableCharacter, managed as flyweight

     PrintButton

     PrintDialog

     Printer

     pseudo TCPConnection

     public Class getParameterType( )

     remoting with RMI

     ReplacementClass

     separating with single dependency

     ShutdownMonitor

     single aspect, multiple advised by

     singleton pattern, one runtime instance with     SoftException     Sorter

     TCPConnection

     TextDisplay     TimeEvent

     TraditionalMainApplication

     VCardPrinter

     Window, capturing all methods of

close( ) method

CodeSignature interface

Colleague interface com.oreilly.aspectjcookbook.MainApplication class

command design pattern command-line applications, deploying

command-line build area COMMAND_LINE_USAGE constant

CommandInvoker interface

CommandPattern abstract aspect CommandReceiver interface

compiler     Eclipse as     Eclipse download location

    error and warning messages

         declaring new

         simple, declared string literals

     extending capabilities of     project forced rebuild

     supplying files for

     weaving         aspects into .jar files

         load-time composite design pattern

CompositeElement roles

CompositePattern aspect ConcreteClassA class

ConcreteClassAObserver aspect

ConcreteClassB class

Conditional pointcut logic

configuration files

     .ajproperites file

     .lst files

     excludeAspects.lst file

configuration properties, managing

constructors

     calls to, capturing

     no default

ConstructorSignature interface

ControlClassSelectionAspect aspect createMemento( ) method createNewFlyweight(...) abstract method

createURLCalledinMainMethod( ) pointcut

cross-cutting     micro-scale

Cuckoo's Egg design pattern

     modularizing the override of a constructor call

CuckoosEggAspect aspect

Категории