|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webify.wsf.engine.mediation.EndpointSelection
public abstract class EndpointSelection
Represents a set of service endpoints that were considered equally suitable for a service invocation under a specific context.
Constructor Summary | |
---|---|
EndpointSelection()
|
Method Summary | |
---|---|
abstract java.util.Iterator |
getAllEndpoints()
Gets all endpoints represented by this selection. |
abstract EndpointComputation |
getComputation()
Gets the computation used to arrive at this set of endpoints. |
Policy |
getFullPolicy()
Gets the policy used to arrive at this endpoint selection. |
abstract Endpoint |
getOneEndpoint(Context context)
Gets one of the active endpoints from the set of endpoints this represents. |
abstract Endpoint |
getOneEndpoint(Context context,
SelectionStrategy strategy)
Deprecated. As engine-core is removed, this method should be replaced with one that also takes an IndirectAddressResolver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndpointSelection()
Method Detail |
---|
public Policy getFullPolicy()
public abstract EndpointComputation getComputation()
public abstract Endpoint getOneEndpoint(Context context) throws EndpointNotFoundException
getOneEndpoint(Context, SelectionStrategy)
with
the default strategy that considers endpoints' HOO and status based availability.
Note that this operation has side-effects on the context. Specifically, the
Policy to be propagated can be injected by the EndpointSelection
.
context
- the context under which the endpoints' states are determined.
EndpointNotFoundException
public abstract Endpoint getOneEndpoint(Context context, SelectionStrategy strategy) throws EndpointNotFoundException
EndpointSelection
.
context
- the context under which the endpoints' states are determined.
EndpointNotFoundException
public abstract java.util.Iterator getAllEndpoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |