public interface RemoteMethodExecutor extends Remote
Modifier and Type | Method and Description |
---|---|
Object |
execute(String methodName,
Class<?>[] parametersType,
Object[] args)
Acts like an InvocationHandler.
|
Object execute(String methodName, Class<?>[] parametersType, Object[] args) throws RemoteException
methodName
- name of the method to invokeparametersType
- parameters type to reliably identify the methodargs
- method arguments to process the effective callRemoteException
- for any error. Business exceptions will be
wrapped.Copyright © 2004–2020 CodeLutin. All rights reserved.