Package com.webmethods.locks
Class Node
- java.lang.Object
-
- com.webmethods.locks.Node
-
- Direct Known Subclasses:
WmConnectionConsumerImpl
,WmConnectionImpl
,WmMessageConsumerImpl
,WmMessageProducerImpl
,WmSessionImpl
,WmSessionSubscriber
public abstract class Node extends java.lang.Object
Node interface representing composite object.
-
-
Field Summary
Fields Modifier and Type Field Description protected LockManager
_lockManager
LockManager for the node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockManager
getLockManager()
Returns the LockManager instance to which the Node may belong to.Node
getParent()
Obtains the parent for the current object.
-
-
-
Field Detail
-
_lockManager
protected final LockManager _lockManager
LockManager for the node. Has been set to final, b/c once it is set the locking at the node is controlled by the LockManager instance which is passed.
-
-
Constructor Detail
-
Node
public Node(Node parent)
A default constructor which will take parent and as LockManager instance as parameters.- Parameters:
parent
-
-
-
Method Detail
-
getParent
public final Node getParent()
Obtains the parent for the current object.
-
getLockManager
public final LockManager getLockManager()
Returns the LockManager instance to which the Node may belong to.
-
-