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. |
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 methodparamTypes
- the parameter typesargs
- the arguments to the methodcontext
- the context with the users principal and credentials
- Returns:
- the result from the invocation
Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.