|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Endpoint
send
in class AbstractEndpoint
synCtx
- the message to sendpublic String getKey()
public void setKey(String key)
public boolean readyToSend()
Endpoint
readyToSend
in interface Endpoint
readyToSend
in class AbstractEndpoint
public void setName(String endpointName)
Nameable
setName
in interface Nameable
setName
in class AbstractEndpoint
endpointName
- String Representation of namepublic EndpointContext getContext()
Endpoint
getContext
in interface Endpoint
getContext
in class AbstractEndpoint
public List<Endpoint> getChildren()
Endpoint
getChildren
in interface Endpoint
getChildren
in class AbstractEndpoint
public EndpointView getMetricsMBean()
Endpoint
getMetricsMBean
in interface Endpoint
getMetricsMBean
in class AbstractEndpoint
public void init(SynapseEnvironment synapseEnvironment)
ManagedLifecycle
init
in interface ManagedLifecycle
init
in class AbstractEndpoint
synapseEnvironment
- 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 |