Annotation Interface Routing
Specifies the routing information for the method call.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptionally specifies the name of theRoutingStrategyto use.Class<? extends RoutingStrategy> Specifies theRoutingStrategyused to distribute the remote invocations.
-
Element Details
-
value
Class<? extends RoutingStrategy> valueSpecifies theRoutingStrategyused to distribute the remote invocations. This will be the type resolved against the IoC container from theServiceLocator.- Returns:
- the
RoutingStrategyclass
- Default:
dev.getelements.elements.rt.routing.DefaultRoutingStrategy.class
-
name
String nameOptionally specifies the name of theRoutingStrategyto use. If non-empty, this will be used in conjunction with theServiceLocatorto fetch theRoutingStrategyfrom the container. Ths corresponds to theNamedannotation.- Returns:
- the name
- Default:
""
-