Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.aspectwerkz.intercept
Interface Advisable

All Known Implementing Classes:
  AdvisableImpl

    public interface Advisable

The advisable interface is introduced to target class made advisable.

Note: user should ensure that the target class has no user defined method named aw_addAdvice and aw_removeAdvice. Other methods are made synthetic and thus will not lead to name clashes.

Author:
  Jonas Bonér

Method Summary
`void` | `aw_addAdvice(String pointcut, Advice advice)`
`void` | `aw_removeAdvice(String pointcut, Class adviceClass)`
`AfterAdvice[]` | `aw$getAfterAdvice(int joinPointIndex)`
`AfterReturningAdvice[]` | `aw$getAfterReturningAdvice(int joinPointIndex)`
`AfterThrowingAdvice[]` | `aw$getAfterThrowingAdvice(int joinPointIndex)`
`AroundAdvice[]` | `aw$getAroundAdvice(int joinPointIndex)`
`BeforeAdvice[]` | `aw$getBeforeAdvice(int joinPointIndex)`

Method Detail

### aw_addAdvice

    void aw_addAdvice(String pointcut,
                      Advice advice)

  Parameters:
    `pointcut` -
    `advice` -

### aw_removeAdvice

    void aw_removeAdvice(String pointcut,
                         Class adviceClass)

  Parameters:
    `pointcut` -
    `adviceClass` -

### aw$getAroundAdvice

    AroundAdvice[] aw$getAroundAdvice(int joinPointIndex)

  Parameters:
    `joinPointIndex` -
  Returns:

### aw$getBeforeAdvice

    BeforeAdvice[] aw$getBeforeAdvice(int joinPointIndex)

  Parameters:
    `joinPointIndex` -
  Returns:

### aw$getAfterAdvice

    AfterAdvice[] aw$getAfterAdvice(int joinPointIndex)

  Parameters:
    `joinPointIndex` -
  Returns:

### aw$getAfterReturningAdvice

    AfterReturningAdvice[] aw$getAfterReturningAdvice(int joinPointIndex)

  Parameters:
    `joinPointIndex` -
  Returns:

### aw$getAfterThrowingAdvice

    AfterThrowingAdvice[] aw$getAfterThrowingAdvice(int joinPointIndex)

  Parameters:
    `joinPointIndex` -
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.