Interface ComponentMethodAdvice

Deprecated. Deprecated in 5.3

public interface ComponentMethodAdvice

An object that receives control around an "advised" method of a component. The advise can query or even replace method parameters. After invoking Invocation.proceed(), the advice may query and override thrown exceptions or the return value of the invocation.

See Also:
TransformMethod.addAdvice(ComponentMethodAdvice), ComponentInstanceOperation, PlasticClass, PlasticMethod, MethodAdvice

Method Summary
 void advise(ComponentMethodInvocation invocation)

Method Detail


void advise(ComponentMethodInvocation invocation)

Copyright © 2003-2012 The Apache Software Foundation.