Package com.fluxtion.builder.time
Class ClockFactory
java.lang.Object
com.fluxtion.builder.time.ClockFactory
- All Implemented Interfaces:
NodeFactory<com.fluxtion.api.time.Clock>
public class ClockFactory extends java.lang.Object implements NodeFactory<com.fluxtion.api.time.Clock>
- Author:
- V12 Technology Ltd.
-
Field Summary
Fields Modifier and Type Field Description static com.fluxtion.api.time.ClockSINGLETON -
Constructor Summary
Constructors Constructor Description ClockFactory() -
Method Summary
Modifier and Type Method Description com.fluxtion.api.time.ClockcreateNode(java.util.Map config, NodeRegistry registry)NodeFactory writer must implement this method to generate instances of nodes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fluxtion.builder.node.NodeFactory
postInstanceRegistration, preSepGeneration, setTargetLanguage
-
Field Details
-
SINGLETON
public static final com.fluxtion.api.time.Clock SINGLETON
-
-
Constructor Details
-
ClockFactory
public ClockFactory()
-
-
Method Details
-
createNode
Description copied from interface:NodeFactoryNodeFactory writer must implement this method to generate instances of nodes. The Fluxtion compiler will call this method when anInjectinstance is created.Configvariables are used to populate the config map.- Specified by:
createNodein interfaceNodeFactory<com.fluxtion.api.time.Clock>- Parameters:
config- map configurationregistry- The node registry of the current generation context- Returns:
- The newly created node instance
-