Package org.refcodes.decoupling.ext.application
package org.refcodes.decoupling.ext.application
This artifact extends the
refcodes-decoupling
artifact with out of the box runtime functionality such as properties
management (alongside profiles support) and
CLI)
support by integrating the refcodes-properties-ext-application
artifact.
Please refer to the refcodes-decoupling: Breaking up dependencies between components documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionThe
ApplicationContext
extends aContext
for out of the box application requirements such as lifecycle support (as if theLifecycleComponent
alongside theLifecycleComponent.LifecycleAutomaton
).TheApplicationReactor
enables harnessing theApplicationProperties
alongside theApplicationProperties
profile support (as ofProfileProperties.getRuntimeProfiles()
) by automatically placing an accordingly configuredApplicationProperties
instance into the container and enabling it for injection.TheApplicationReactor.ProfilesMode
determines how to handle implicit profiles information as provided by theApplicationProperties
instance (implicitly added asDependency
by theApplicationReactor
).