public interface NodeFactory
Node
s.Modifier and Type | Method and Description |
---|---|
Node |
newNode(NodeConfiguration configuration)
Build a new
Node with the given NodeConfiguration . |
Node |
newNode(NodeConfiguration configuration,
java.util.Collection<NodeListener> listeners)
|
Node newNode(NodeConfiguration configuration)
Node
with the given NodeConfiguration
.configuration
- the NodeConfiguration
for the new Node
Node
Node newNode(NodeConfiguration configuration, java.util.Collection<NodeListener> listeners)
configuration
- the NodeConfiguration
for the new Node
listeners
- a collection of NodeListener
instances which will be
registered with the node (can be null
)Node