|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract a node in a clustered deployment.
A Node knows how to join, leave other nodes. It also registers EndPoints
and provide them a mean to exchange Msgs with other EndPoints.
The following diagram shows how Nodes and EndPoints are combined together:
EndPoint -- MTO -- Node -- MTM -- Node -- OTM -- EndPoint
Method Summary | |
void |
addEndPoint(EndPoint anEndPoint)
Registers a new EndPoint. |
Object |
factoryEndPointProxy(EndPointProxyInfo anInfo)
Creates a proxy for the EndPoint defined by anInfo. |
NodeInfo |
getNodeInfo()
Gets the NodeInfo of this node. |
ReplacerResolver |
getReplacerResolver()
Gets the root ReplacerResolver used by this node in order to replace and resolve instances to be sent and received by remote nodes. |
NodeTopology |
getTopology()
Gets the node topology in which this instance is operating. |
void |
releaseEndPointProxy(Object aProxy)
Releases the resources of the specified EndPoint proxy. |
void |
removeEndPoint(EndPoint anEndPoint)
Unregisters the EndPoint. |
void |
setTopology(NodeTopology aTopology)
Sets the node topology in which this instance is operating. |
Methods inherited from interface org.apache.geronimo.gbean.GBeanLifecycle |
doFail, doStart, doStop |
Method Detail |
public NodeInfo getNodeInfo()
public void setTopology(NodeTopology aTopology) throws NodeException
aTopology
- Topology of the nodes constituting the network layout.
NodeException
- Indicates that the topology can not be set.public NodeTopology getTopology()
public ReplacerResolver getReplacerResolver()
public void addEndPoint(EndPoint anEndPoint)
anEndPoint
- EndPoint to be registered.public void removeEndPoint(EndPoint anEndPoint)
anEndPoint
- EndPoint to be deregistered.public Object factoryEndPointProxy(EndPointProxyInfo anInfo)
anInfo
- EndPoint meta-data.
public void releaseEndPointProxy(Object aProxy)
aProxy
- EndPoint proxy.
IllegalArgumentException
- Indicates that the provided instance
is not a proxy.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |