|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.messaging.NodeImpl
Node implementation.
| Field Summary | |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
NodeImpl(NodeInfo aNodeInfo,
org.apache.geronimo.pool.ThreadPool aThreadPool,
org.apache.geronimo.pool.ClockPool aClockPool,
MessagingTransportFactory aFactory)
Creates a Node. |
|
| Method Summary | |
void |
addEndPoint(EndPoint anEndPoint)
Registers a new EndPoint. |
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
Object |
factoryEndPointProxy(EndPointProxyInfo anInfo)
Creates a proxy for the EndPoint defined by anInfo. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
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. |
protected EndPointProxyFactory |
newEndPointProxyFactory()
Returns an EndPointProxyFactory implementation. |
protected ReferenceableManager |
newReferenceableManager()
Returns a ReferenceableManager inplementation. |
protected StreamManager |
newStreamManager()
Returns a StreamManager implementation. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
public NodeImpl(NodeInfo aNodeInfo,
org.apache.geronimo.pool.ThreadPool aThreadPool,
org.apache.geronimo.pool.ClockPool aClockPool,
MessagingTransportFactory aFactory)
aNodeInfo - Node meta-data.aThreadPool - Pool of threads.aClockPool - To execute period tasks.aFactory - Transport layer factory.| Method Detail |
public ReplacerResolver getReplacerResolver()
Node
getReplacerResolver in interface Nodepublic NodeInfo getNodeInfo()
Node
getNodeInfo in interface Node
public void setTopology(NodeTopology aTopology)
throws NodeException
Node
setTopology in interface NodeaTopology - Topology of the nodes constituting the network layout.
NodeException - Indicates that the topology can not be set.public NodeTopology getTopology()
Node
getTopology in interface Nodepublic void addEndPoint(EndPoint anEndPoint)
Node
addEndPoint in interface NodeanEndPoint - EndPoint to be registered.public void removeEndPoint(EndPoint anEndPoint)
Node
removeEndPoint in interface NodeanEndPoint - EndPoint to be deregistered.public Object factoryEndPointProxy(EndPointProxyInfo anInfo)
Node
factoryEndPointProxy in interface NodeanInfo - EndPoint meta-data.
public void releaseEndPointProxy(Object aProxy)
Node
releaseEndPointProxy in interface NodeaProxy - EndPoint proxy.
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecycleorg.apache.geronimo.gbean.WaitingException
Exception
public void doStop()
throws org.apache.geronimo.gbean.WaitingException,
Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleorg.apache.geronimo.gbean.WaitingException
Exceptionpublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecyclepublic String toString()
protected StreamManager newStreamManager()
protected ReferenceableManager newReferenceableManager()
protected EndPointProxyFactory newEndPointProxyFactory()
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||