Class ModuleDiscoveryFeatures<F>

java.lang.Object
io.vertigo.core.node.config.Features<F>
io.vertigo.core.node.config.discovery.ModuleDiscoveryFeatures<F>
All Implemented Interfaces:
Builder<ModuleConfig>

public abstract class ModuleDiscoveryFeatures<F> extends Features<F>
An abstract Feature with no configuration for discovering and registering components in a package tree. Usage : - Extends this class - Provide a module name - Provide the package prefix to scan for components - Register this feature in your app's configuration (YAML or Java)
Author:
mlaroche
  • Constructor Details

    • ModuleDiscoveryFeatures

      protected ModuleDiscoveryFeatures(String name)
  • Method Details

    • getPackageRoot

      protected String getPackageRoot()
    • buildFeatures

      protected void buildFeatures()
      Specified by:
      buildFeatures in class Features<F>