Class ModuleStage

  • All Implemented Interfaces:
    BuildStage

    public class ModuleStage
    extends Object
    implements BuildStage
    This BuildStage implementation registers services using @Provides annotations found in the provided "module" instances.
    Author:
    Pierre Lecerf ([email protected]) Created on 2020/05/24
    • Constructor Detail

      • ModuleStage

        public ModuleStage​(Object... modules)
    • Method Detail

      • build

        public void build​(Vault vault)
                   throws VaultException
        Specified by:
        build in interface BuildStage
        Parameters:
        vault - the Vault instance to register services to
        Throws:
        VaultException - if an error occurred during the build process