my first idea was to add the method getContext() to Configuration but i think if someone is able to use the SPI, they can do it on their own. i think a 'normal‘ user should not see the configurationContext at all
lg reini > Am 06.01.2015 um 23:43 schrieb Oliver B. Fischer <[email protected]>: > > Guys, I missed somehow how to get a Configuration from the > ConfigurationContext. > > BTW: I will add this method to ConfigurationContext: > > public static ConfigurationContext current(){ > return > ServiceContext.getInstance().getService(ConfigurationContext.class).get(); > } > > WDYT? > > Oliver > > -- > N Oliver B. Fischer > A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany > P +49 30 44793251 > M +49 178 7903538 > E [email protected] > S oliver.b.fischer > J [email protected] > X http://xing.to/obf >
