public interface NodeRegistry
NodeFactory will be used to create a new
instance, using the provided map for configuration.
Users interact with the NodeRegistry through callbacks on the
NodeFactory interface.
NodeFactory| Modifier and Type | Method and Description |
|---|---|
<T> T |
findOrCreateNode(Class<T> clazz,
Map<String,Object> config,
String variableName)
Find or create a node using a registered
NodeFactory. |
<T> T |
findOrCreatePublicNode(Class<T> clazz,
Map<String,Object> config,
String variableName)
Find or create a node using a registered
NodeFactory. |
<T extends com.fluxtion.runtime.audit.Auditor> |
registerAuditor(T node,
String auditorName)
Register an
Auditor with Fluxtion generator. |
<T> T |
registerNode(T node,
String variableName)
Register a user created node with Fluxtion generator, no
NodeFactory's will be used in this operation. |
<T> T |
registerPublicNode(T node,
String variableName)
Register a user created node with Fluxtion generator, no
NodeFactory's will be used in this operation. |
<T> T findOrCreateNode(Class<T> clazz, Map<String,Object> config, String variableName)
NodeFactory. The
generated node will have private scope and the name will be generated
from a NodeNameProducer strategy if the supplied name is null.T - The type of the node to be created.clazz - The class of type Tconfig - a map used by a NodeFactory to create a node.variableName - the variable name in the SEP<T> T findOrCreatePublicNode(Class<T> clazz, Map<String,Object> config, String variableName)
NodeFactory. The
generated node will have public scope and the name will be generated from
a NodeNameProducer strategy if the supplied name is null.T - The type of the node to be created.clazz - The class of type Tconfig - a map used by a NodeFactory to create a node.variableName - the variable name in the SEP<T> T registerNode(T node,
String variableName)
NodeFactory's will be used in this operation. The node will have
private scope and the name will be generated from a
NodeNameProducer strategy if the supplied name is null.T - The type of the node to be created.node - The node to add to the SEPvariableName - the variableName name of the node<T> T registerPublicNode(T node,
String variableName)
NodeFactory's will be used in this operation. The node will have
public scope and the name will be generated from a
NodeNameProducer strategy if the supplied name is null.T - The type of the node to be created.node - The node to add to the SEPvariableName - the variableName name of the node<T extends com.fluxtion.runtime.audit.Auditor> T registerAuditor(T node,
String auditorName)
Auditor with Fluxtion generator. The Auditor will
have public scope registered with the name provided.T - The Auditor classnode - The Auditor to registerauditorName - the public name of the AuditorCopyright © 2022. All rights reserved.