org.nuiton.util.rmi
Interface RemoteMethodExecutor
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- RemoteMethodExecutorImpl
public interface RemoteMethodExecutor
- extends Remote
This class will act as an InvocationHandler except that it is distributed.
- Author:
- Arnaud Thimel
execute
Object execute(String methodName,
Class<?>[] parametersType,
Object[] args)
throws RemoteException
- Acts like an InvocationHandler.
- Parameters:
methodName - name of the method to invokeparametersType - parameters type to reliably identify the methodargs - method arguments to process the effective call
- Returns:
- the result of the delegate method
- Throws:
RemoteException - for any error. Business exceptions will be
wrapped.
Copyright © 2004-2012 CodeLutin. All Rights Reserved.