|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jbi.messaging.routing.module.endpoint.EndpointOrderer
public final class EndpointOrderer
The endpoint chooser strategy.
| Constructor Summary | |
|---|---|
EndpointOrderer(org.ow2.petals.util.LoggingUtil log,
ContainerConfiguration containerConfiguration,
TopologyService topologyService)
Default constructor. |
|
| Method Summary | |
|---|---|
java.util.List<ServiceEndpoint> |
orderEndpoints(java.util.List<ServiceEndpoint> endpoints,
java.util.List<java.lang.Object> strategyParameters)
Elects the endpoints list of endpoints as the message recipient, with the defined strategy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointOrderer(org.ow2.petals.util.LoggingUtil log,
ContainerConfiguration containerConfiguration,
TopologyService topologyService)
| Method Detail |
|---|
public final java.util.List<ServiceEndpoint> orderEndpoints(java.util.List<ServiceEndpoint> endpoints,
java.util.List<java.lang.Object> strategyParameters)
throws RoutingException
network - the container networkendpoints - the list of endpoints to select an endpoint fromexchange - the exchangestrategyParameters - the list of parameters of the strategy. Must be non-null
RoutingException - impossible to realize this strategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||