public class OneWayMethodRepository extends Object
OneWayRemoteCallannotation definition or
OneWayRemoteCallannotation can't be defined for Remote interface due the thirty party provider.
Important: Best practice to register one-way methods before starting invoke this method remotely or in static initializer or remote stub.
|Constructor and Description|
|Modifier and Type||Method and Description|
Check whether the
Register one way remote method to the underlying transport protocol.
Important: The declaring class of provided method must be an interface and extends from java.rmi.Remote interface.
public static void register(IMethod method) throws IllegalArgumentException
IllegalArgumentException- The provided method is not instance of Remote interface.
public static boolean isOneWay(IMethod method)
Methodregistered as one-way to the underlying transport protocol.
method- the method to check.
trueif the method registered as one-way, otherwise
Copyright © GigaSpaces.