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
 java.lang.Object invoke(java.lang.String handle, java.lang.String methodName, java.lang.Class[] paramTypes, java.lang.Object[] args, java.lang.Object context)
          Invokes a specific method on the object mapped to the role specified.
 

Method Detail

invoke

public java.lang.Object invoke(java.lang.String handle,
                               java.lang.String methodName,
                               java.lang.Class[] paramTypes,
                               java.lang.Object[] args,
                               java.lang.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 (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.