Interface Nodes
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
public interface Nodes
extends org.jvnet.hk2.config.ConfigBeanProxy
Nodes configuration.
Maintain a list of Node active configurations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodeReturn the default local node, localhost-<domain_name>, ornullif no such node exists.Check if nodes list is frozen.getNode()Return the list of nodes currently configured.default NodeReturn the node with the givenname, ornullif no such node exists.default booleanCan we create a node?voidSets the value of thefreezeattribute on the nodes list.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Method Details
-
setFreeze
Sets the value of thefreezeattribute on the nodes list. If the nodes list is frozen then no new nodes are allowed to be created.- Parameters:
freeze- allowed object isString- Throws:
PropertyVetoException- if a listener vetoes the change
-
getFreeze
String getFreeze()Check if nodes list is frozen.That is prevent creation of new nodes.
- Returns:
- value of freeze
-
getNode
Return the list of nodes currently configured.- Returns:
- list of
Node
-
getDefaultLocalNode
Return the default local node, localhost-<domain_name>, ornullif no such node exists.- Returns:
- the
Nodeobject, ornullif no such node
-
getNode
Return the node with the givenname, ornullif no such node exists.- Parameters:
name- the name of the node- Returns:
- the
Nodeobject, ornullif no such node
-
nodeCreationAllowed
default boolean nodeCreationAllowed()Can we create a node?- Returns:
trueif node creation is allowed, elsefalse
-