com.lonniepryor.blues.aop
Interface Imposter


public interface Imposter

Interface implemented by objects that wish to masquerade as instances of interfaces they don't directly implement.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Method Summary
 java.lang.Object process(java.lang.reflect.Method method, java.lang.Object[] params)
          Calls on this imposter to process an invocation of the specified method with the supplied parameters.
 

Method Detail

process

public java.lang.Object process(java.lang.reflect.Method method,
                                java.lang.Object[] params)
                         throws java.lang.Throwable
Calls on this imposter to process an invocation of the specified method with the supplied parameters.

Parameters:
method - The method to process an invocation for.
params - The parameters passed to the method.
Returns:
The return value generated for the method.
java.lang.Throwable


Copyright © 2003 Blues Framework. All Rights Reserved.