|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.FaultHandler
org.apache.synapse.endpoints.AbstractEndpoint
org.apache.synapse.endpoints.IndirectEndpoint
public class IndirectEndpoint
This class represents a real endpoint referred by a key. An Indirect endpoint does not really have a life, but merely acts as a virtual endpoint for the actual endpoint referred.
| Field Summary |
|---|
| Fields inherited from class org.apache.synapse.endpoints.AbstractEndpoint |
|---|
anonymous, errorHandler, fileName, initialized, isClusteringEnabled, log, trace |
| Constructor Summary | |
|---|---|
IndirectEndpoint()
|
|
| Method Summary | |
|---|---|
List<Endpoint> |
getChildren()
Get the children of this endpoint |
EndpointContext |
getContext()
Get the EndpointContext that has the run-time state of this endpoint |
String |
getKey()
|
EndpointView |
getMetricsMBean()
Get a reference to the metrics MBean for this endpoint |
void |
init(SynapseEnvironment synapseEnvironment)
This method should implement the initialization of the implemented parts of the configuration. |
boolean |
readyToSend()
Returns true to indicate that the endpoint is ready to service requests |
void |
send(MessageContext synCtx)
Send by calling to the real endpoint |
void |
setKey(String key)
|
void |
setName(String endpointName)
Set the name of an abstraction |
String |
toString()
|
| Methods inherited from class org.apache.synapse.FaultHandler |
|---|
getStackTrace, handleFault, handleFault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndirectEndpoint()
| Method Detail |
|---|
public void send(MessageContext synCtx)
send in interface Endpointsend in class AbstractEndpointsynCtx - the message to sendpublic String getKey()
public void setKey(String key)
public boolean readyToSend()
Endpoint
readyToSend in interface EndpointreadyToSend in class AbstractEndpointpublic void setName(String endpointName)
Nameable
setName in interface NameablesetName in class AbstractEndpointendpointName - String Representation of namepublic EndpointContext getContext()
Endpoint
getContext in interface EndpointgetContext in class AbstractEndpointpublic List<Endpoint> getChildren()
Endpoint
getChildren in interface EndpointgetChildren in class AbstractEndpointpublic EndpointView getMetricsMBean()
Endpoint
getMetricsMBean in interface EndpointgetMetricsMBean in class AbstractEndpointpublic void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycle
init in interface ManagedLifecycleinit in class AbstractEndpointsynapseEnvironment - SynapseEnvironment to be used for initializationpublic String toString()
toString in class AbstractEndpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||