Skip navigation links
GigaSpaces XAP 12.0.0 API

Class OneWayMethodRepository

    • Constructor Detail

      • OneWayMethodRepository

        public OneWayMethodRepository()
    • Method Detail

      • register

        public static void register(IMethod method)
                             throws IllegalArgumentException
        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.
        IllegalArgumentException - The provided method is not instance of Remote interface.
      • isOneWay

        public static boolean isOneWay(IMethod method)
        Check whether the Method registered as one-way to the underlying transport protocol.
        method - the method to check.
        true if the method registered as one-way, otherwise false.

Copyright © GigaSpaces.