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