T - public interface NodeFactory<T>
ServiceLoader pattern to register NodeFactories.
Please read the java documentation describing the meta-data a factory implementor
must provide to register a factory using the ServiceLoader pattern.| Modifier and Type | Method and Description |
|---|---|
T |
createNode(Map config,
NodeRegistry registry) |
default void |
postInstanceRegistration(Map config,
NodeRegistry registry,
T instance) |
default void |
preSepGeneration(GenerationContext context)
If the node generates a class for this SEP, this callback gives
the node access to the GenerationContext.
|
default void |
setTargetLanguage(String targetLanguage)
If the node generates a class for this SEP, this callback will indicate
the desired target.
|
T createNode(Map config, NodeRegistry registry)
config - registry - default void postInstanceRegistration(Map config, NodeRegistry registry, T instance)
config - registry - instance - default void setTargetLanguage(String targetLanguage)
targetLanguage - default void preSepGeneration(GenerationContext context)
context - Copyright © 2019. All rights reserved.