|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The client-side remote object reference resolved against a specific class loader and capable of invoking remote methods on the target object.
| Method Summary | |
Parameters |
getBindParameters()
Retrieves parameters associated with this invoker. |
java.lang.Class[] |
getInterfaces()
Gets remote interfaces which methods may be invoked on the target object through this invoker. |
java.lang.Object |
getParameter(java.lang.String name)
Gets the value of the provider-specific parameter with a given name. |
RemoteRef |
getRef()
Gets the RemoteRef that this invoker is bound to. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] params)
Performs the remote method invocation. |
void |
setParameter(java.lang.String name,
java.lang.Object value)
Sets the value of the provider-specific parameter given by name. |
| Method Detail |
public java.lang.Class[] getInterfaces()
public RemoteRef getRef()
RemoteRef that this invoker is bound to.
RemoteRef of this invoker.public Parameters getBindParameters()
remote reference using these parameters will
create invoker indistinguishable from this one.
public void setParameter(java.lang.String name,
java.lang.Object value)
throws IllegalParameterException,
java.lang.UnsupportedOperationException
name - the name of the parameter to set.value - the value of the parameter.
IllegalParameterException - if the provider does not recognize
the parameter with that name, or if the parameter is not of
the appropriate type.
java.lang.UnsupportedOperationException - if the parameter cannot be
written (for instance, if it is read-only).
public java.lang.Object getParameter(java.lang.String name)
throws IllegalParameterException,
java.lang.UnsupportedOperationException
name - the parameter name.
IllegalParameterException - if the provider does not recognize
the parameter with that name.
java.lang.UnsupportedOperationException - if the parameter cannot be
read (for instance, if it is write-only).
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] params)
throws java.lang.Exception
proxy - the client-side proxy that originated the invocation.method - the remote method to invoke.params - invocation parameters.
java.lang.Exception - exception thrown by the remote method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||