|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.endpoint.AbstractConduitSelector
org.apache.cxf.clustering.FailoverTargetSelector
public class FailoverTargetSelector
Implements a target selection strategy based on failover to an alternate target endpoint when a transport level failure is encountered.
| Field Summary |
|---|
| Fields inherited from class org.apache.cxf.endpoint.AbstractConduitSelector |
|---|
endpoint, selectedConduit |
| Constructor Summary | |
|---|---|
FailoverTargetSelector()
Normal constructor. |
|
FailoverTargetSelector(Conduit c)
Constructor, allowing a specific conduit to override normal selection. |
|
| Method Summary | |
|---|---|
void |
complete(Exchange exchange)
Called on completion of the MEP for which the Condit was required. |
protected java.util.logging.Logger |
getLogger()
|
FailoverStrategy |
getStrategy()
|
void |
prepare(Message message)
Called prior to the interceptor chain being traversed. |
Conduit |
selectConduit(Message message)
Called when a Conduit is actually required. |
void |
setStrategy(FailoverStrategy strategy)
|
| Methods inherited from class org.apache.cxf.endpoint.AbstractConduitSelector |
|---|
getEndpoint, getSelectedConduit, setEndpoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FailoverTargetSelector()
public FailoverTargetSelector(Conduit c)
c - specific conduit| Method Detail |
|---|
public void prepare(Message message)
message - the current Messagepublic Conduit selectConduit(Message message)
message -
public void complete(Exchange exchange)
complete in interface ConduitSelectorcomplete in class AbstractConduitSelectorexchange - represents the completed MEPpublic void setStrategy(FailoverStrategy strategy)
strategy - the FailoverStrategy to usepublic FailoverStrategy getStrategy()
protected java.util.logging.Logger getLogger()
getLogger in class AbstractConduitSelector
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||