deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Marinchuk <>
Subject parametrized @Configuration
Date Thu, 08 Jun 2017 09:26:23 GMT

Currently, the methods from interfaces annotied with @Configuration ignore parameters. Is
it possible (in future) to add support to use templated parameters passed via method parameters
in @ConfigProperty's name parameter?

@Configuration(prefix="app.mygroup.", cacheFor=60)
public interface MyConfig {

  public String getMapParam(String key);

  public int getSomeParam(String param1, String param2);


Best regards,
Andrew Marinchuk

View raw message