Interface JeroMQEmbeddedWorkerInstanceContainer.NodeModuleFactory

Enclosing class:
JeroMQEmbeddedWorkerInstanceContainer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface JeroMQEmbeddedWorkerInstanceContainer.NodeModuleFactory
Creates a new Node.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<? extends com.google.inject.Module>
    create(NodeId nodeId)
    Creates a new Node given the Injector and ApplicationId.
  • Method Details

    • create

      Collection<? extends com.google.inject.Module> create(NodeId nodeId)
      Creates a new Node given the Injector and ApplicationId.
      Parameters:
      nodeId - the NodeId to use when creating the Node
      Returns:
      a List<com.google.inject.Module> with all user-supplied Modules required to start the Node