Class AutoCloseableNode

    • Constructor Detail

      • AutoCloseableNode

        public AutoCloseableNode​(NodeConfig nodeConfig)
        Constructor.
        Parameters:
        nodeConfig - Application configuration
    • Method Detail

      • registerPreActivateFunction

        public void registerPreActivateFunction​(Runnable preActivateFunction)
        Specified by:
        registerPreActivateFunction in interface Node
        Parameters:
        preActivateFunction - Runnable function post start
      • getStart

        public Instant getStart()
        Specified by:
        getStart in interface Node
        Returns:
        Start
      • getDefinitionSpace

        public DefinitionSpace getDefinitionSpace()
        Description copied from interface: Node
        Returns the space where all the definitions are stored.
        Specified by:
        getDefinitionSpace in interface Node
        Returns:
        the definitionSpace
      • getComponentSpace

        public ComponentSpace getComponentSpace()
        Description copied from interface: Node
        Returns the space where all the components are stored.
        Specified by:
        getComponentSpace in interface Node
        Returns:
        the componentSpace