Class ModuleFactory

    • Constructor Detail

      • ModuleFactory

        public ModuleFactory()
    • Method Detail

      • setupModule

        public static <ModuleImplementation extends ConcentrationBasedModule> ModuleImplementation setupModule​(Class<ModuleImplementation> moduleCLass,
                                                                                                               ModuleFactory.Scope scope,
                                                                                                               ModuleFactory.Specificity specificity)
        Creates a new module with the specified setup.
        Type Parameters:
        ModuleImplementation - The type of the implementation.
        Parameters:
        moduleCLass - The implementation of the module.
        scope - The scope of the module.
        specificity - The specificity of the module.
        Returns:
        The instantiated module.