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 Summary
Constructors Modifier Constructor Description protected
ModuleDiscoveryFeatures(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
buildFeatures()
protected abstract String
getPackageRoot()
-
Methods inherited from class io.vertigo.core.node.config.Features
addPlugin, build, getModuleConfigBuilder
-
-
-
-
Constructor Detail
-
ModuleDiscoveryFeatures
protected ModuleDiscoveryFeatures(String name)
-
-
Method Detail
-
getPackageRoot
protected abstract String getPackageRoot()
-
buildFeatures
protected void buildFeatures()
- Specified by:
buildFeatures
in classFeatures<F>
-
-