org.codehaus.aspectwerkz.connectivity
Interface Invoker


public interface Invoker

Invokes the method for an instance mapped to a specific handle.

Author:
Jonas BonŽr

Method Summary
 Object invoke(String handle, String methodName, Class[] paramTypes, Object[] args, Object context)
          Invokes a specific method on the object mapped to the role specified.
 

Method Detail

invoke

Object invoke(String handle,
              String methodName,
              Class[] paramTypes,
              Object[] args,
              Object context)
Invokes a specific method on the object mapped to the role specified.

Parameters:
handle - the handle to the implementation class (class name, mapped name, UUID etc.)
methodName - the name of the method
paramTypes - the parameter types
args - the arguments to the method
context - the context with the users principal and credentials
Returns:
the result from the invocation


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