[ https://issues.apache.org/jira/browse/DELTASPIKE-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved DELTASPIKE-1445. --------------------------------------- Resolution: Fixed > Dynamic Config injection via a Supplier<T> > ------------------------------------------ > > Key: DELTASPIKE-1445 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1445 > Project: DeltaSpike > Issue Type: New Feature > Security Level: public(Regular issues) > Components: Configuration > Affects Versions: 1.9.5 > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Major > Fix For: 1.9.6 > > > We should support injecting Configuration via {{Supplier<T>}}. > That way we can {{get()}} to access the current value. > The code to use the feature might look like: > {code} > @Inject > @ConfigProperty(name = "address.header.line", cacheFor = 10, cacheUnit = > TimeUnit.MINUTES) > private Supplier<String> addressHeaderLine; > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)