Can you give a sample please? I dont get the point Le 12 févr. 2015 08:25, "Oliver B. Fischer" <[email protected]> a écrit :
> Dear all, > > PropertySource is our abstraction for different property sources and > formats. I think we agree on this. Furthermore we said the origin of a > source must be overhanded as a URL (file://somewhere/). > > That is fine and works. But IMHO we miss the connection between them. How > to specify a specific property source and to find the matching > PropertySource? > > Therefore I would like to propose a option SPI: PropertySourceLocator (?) > > PropertySourceLocator#accepts(URL url):boolean > PropertySourceLocator#get(URL url): PropertySource > > 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 > >
