Class GsRoutingStrategy

  • All Implemented Interfaces:
    com.avanza.astrix.core.remoting.RoutingStrategy

    public class GsRoutingStrategy
    extends Object
    implements com.avanza.astrix.core.remoting.RoutingStrategy
    Provides a routing strategy compatible with the routing used by native gigaspaces remoting, (@Routing annotated arguments).
    Author:
    Elias Lindholm
    • Constructor Detail

      • GsRoutingStrategy

        public GsRoutingStrategy()
    • Method Detail

      • create

        public com.avanza.astrix.core.remoting.Router create​(Method serviceMethod)
        Specified by:
        create in interface com.avanza.astrix.core.remoting.RoutingStrategy
      • lookForRoutingAnnotationInMethodSignature

        public static com.avanza.astrix.core.remoting.Router lookForRoutingAnnotationInMethodSignature​(Method m)
      • createRoutingStrategy

        public static com.avanza.astrix.core.remoting.Router createRoutingStrategy​(Method serviceMethod,
                                                                                   int routingArgumentIndex,
                                                                                   org.openspaces.remoting.Routing routingAnnotation)