Add a Preconditions utility class and a PreconditionViolationException that can test that required properties are present and compliant. Add a collector that can package one or more of these exceptions into a DeploymentException that will stop an application's execution. (As an alternative, see if the Microprofile Config implementation can be shrunk and used in a non-EE environment)
Add a
Preconditionsutility class and aPreconditionViolationExceptionthat can test that required properties are present and compliant. Add a collector that can package one or more of these exceptions into aDeploymentExceptionthat will stop an application's execution. (As an alternative, see if the Microprofile Config implementation can be shrunk and used in a non-EE environment)