]
Brian Stansberry moved WFWIP-62 to WFLY-10855:
----------------------------------------------
Project: WildFly (was: WildFly WIP)
Key: WFLY-10855 (was: WFWIP-62)
Component/s: MP Config
(was: MP Config)
Support for java.net.InetAddress out-of-the-box conversion
----------------------------------------------------------
Key: WFLY-10855
URL:
https://issues.jboss.org/browse/WFLY-10855
Project: WildFly
Issue Type: Enhancement
Components: MP Config
Reporter: Rostislav Svoboda
Assignee: Jeff Mesnil
Payara provides out of the box support for java.net.InetAddress conversion.
https://blog.payara.fish/recent-additions-in-microprofile-config-1.1
We could add this support too so there is no-effort migration path for MP Config from
Payara to WildFly or WildFly Swarm.
{code}
// Injection of an InetAddress object on top of the MicroProfile Config
specification
@Inject
@ConfigProperty(name = "application.address", defaultValue =
"10.0.0.1")
InetAddress inetAddress;
{code}