org.codehaus.aspectwerkz.connectivity
Interface Invoker
public interface Invoker
Invokes the method for an instance mapped to a specific handle.
- Author:
- Jonas Bonr
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 methodparamTypes
- the parameter typesargs
- the arguments to the methodcontext
- 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.