|
|||||||||
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 | |
---|---|
java.lang.String |
getTargetInterfaceName()
Return the name of the target interface that this invoker operates on. |
java.lang.Object |
invoke(RemoteInvocation invocation)
Apply the given invocation to the target object. |
Method Detail |
---|
java.lang.String getTargetInterfaceName() throws java.rmi.RemoteException
null
if none
java.rmi.RemoteException
- in case of communication errorsRemoteExporter.getServiceInterface()
java.lang.Object invoke(RemoteInvocation invocation) throws java.rmi.RemoteException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
Called by
RmiClientInterceptor#doInvoke(org.aopalliance.intercept.MethodInvocation, RmiInvocationHandler)
.
invocation
- object that encapsulates invocation parameters
java.rmi.RemoteException
- in case of communication errors
java.lang.NoSuchMethodException
- if the method name could not be resolved
java.lang.IllegalAccessException
- if the method could not be accessed
java.lang.reflect.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 |