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.apache.tapestry5.ioc
Interface MethodAdvice

Deprecated. Deprecated in 5.3, to be removed in 5.4. Use `MethodAdvice`.

    public interface MethodAdvice

For Tapestry IoC, Aspects provide a limited amount of advise, i.e., advising method invocations. That's the only join point available (method invocations of service interface methods); full AOP systems such as AspectJ can do much, much more, such as advising field access and even object construction.

See Also:
  `AspectDecorator`

Method Summary
`void` | `advise(Invocation invocation)` Deprecated. Allows the Aspect to advise the invocation.

Method Detail

### advise

    void advise(Invocation invocation)

  Deprecated.
  Allows the Aspect to advise the invocation. The Aspect is free to inspect and even replace parameters. Most Aspects will then invoke `Invocation.proceed()`. The Aspect may then inspect and replace any checked thrown exceptions. Some Aspects (for example, caching) may selectively decide to bypass the invocation entirely, and instead invoke some other method or otherwise set a return value or thrown exception.

  Parameters:
    `invocation` - to advise

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 © 2003-2012 The Apache Software Foundation.