public abstract class AbstractNodeMaker extends java.lang.Object implements NodeMaker
Constructor and Description |
---|
AbstractNodeMaker(AppContext conn) |
Modifier and Type | Method and Description |
---|---|
void |
addChildren(Node parent,
java.lang.String name,
FilteredProperties props)
Add additional child nodes specific to the
NodeMaker . |
AppContext |
getContext() |
protected Logger |
getLogger() |
public AbstractNodeMaker(AppContext conn)
conn
- public AppContext getContext()
getContext
in interface Contexed
public void addChildren(Node parent, java.lang.String name, FilteredProperties props)
NodeMaker
NodeMaker
.
This is intended for Node
s based on the current user or their roles.
It is a separate method so the dynamically generated nodes are added after any
specified in the configuration. Dynamic nodes that should appear first can be
added directly in NodeMaker.makeNode(String, FilteredProperties)
addChildren
in interface NodeMaker
protected Logger getLogger()