Package com.noleme.vault.builder
Class CellarDefinitionStage
- java.lang.Object
-
- com.noleme.vault.builder.CellarDefinitionStage
-
- All Implemented Interfaces:
BuildStage
public class CellarDefinitionStage extends Object implements BuildStage
This BuildStage implementation registers services using a pre-existing Definitions instance. The Definitions will be used to populate a new Cellar, which in turn will be used for registering services into the Vault.- Author:
- Pierre Lecerf ([email protected]) Created on 2020/05/24
-
-
Constructor Summary
Constructors Constructor Description CellarDefinitionStage(VaultFactory factory, Definitions definitions)
-
-
-
Constructor Detail
-
CellarDefinitionStage
public CellarDefinitionStage(VaultFactory factory, Definitions definitions)
- Parameters:
factory
-definitions
-
-
-
Method Detail
-
build
public void build(Vault vault) throws VaultException
- Specified by:
build
in interfaceBuildStage
- Parameters:
vault
- the Vault instance to register services to- Throws:
VaultException
- if an error occurred during the build process
-
-