Hi Vadim,
Bootique somewhat intentionally doesn't provide explicit API for property access, steering the user towards writing factory objects. Though, as you said, in some cases this may be a valuable shortcut. And you can do with the existing methods. You'd still need a ConfigurationFactory though, as this is the object that stores the configuration tree. So it is the source of this data. And then you can retrieve the value as e.g. a String, using "param1" as a root prefix:
@Provides
@Singleton
MyService provideMyService(ConfigurationFactory cf) {
String value = cf.config(String.class, "param1");
...
}
HTH,
Andrus