|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RmiInvocationHandler
Interface for RMI invocation handlers instances on the server, wrapping exported services. A client uses a stub implementing this interface to access such a service.
This is an SPI interface, not to be used directly by applications.
Method Summary | |
---|---|
String |
getTargetInterfaceName()
Return the name of the target interface that this invoker operates on. |
Object |
invoke(RemoteInvocation invocation)
Apply the given invocation to the target object. |
Method Detail |
---|
String getTargetInterfaceName() throws RemoteException
null
if none
RemoteException
- in case of communication errorsRemoteExporter.getServiceInterface()
Object invoke(RemoteInvocation invocation) throws RemoteException, NoSuchMethodException, IllegalAccessException, InvocationTargetException
Called by
RmiClientInterceptor.doInvoke(org.aopalliance.intercept.MethodInvocation, RmiInvocationHandler)
.
invocation
- object that encapsulates invocation parameters
RemoteException
- in case of communication errors
NoSuchMethodException
- if the method name could not be resolved
IllegalAccessException
- if the method could not be accessed
InvocationTargetException
- if the method invocation resulted in an exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |