Felix Meschberger  wrote
> Hi,
> 
> On 24.03.2010 12:04, Carsten Ziegeler wrote:
>> I moved the service, but how do we proceed?
> 
> How about adding two methods to the SlingSettingsService ?
> 
>    * String getSlingHome();
>    * URL getSlingHome();
>      (I think Java 5 allows this)
> 
> or
> 
>    * Type getSlingHome(Class<Type> type);
> 
> where type is one of String, File, URL (this is probably too fancy ;-) )
> 
Yes, I think that's really too fancy :)

I would go for two methods either with the same name or different name.
I'll create an issue for this and implement it.

Carsten

> The goal is to reflect the sling.home framework property
> 
> Regards
> Felix
> 
>>
>> We can:
>> a) copy the request and response util classes from engine to api so
>> people have everything in a single place
>> b) create the utilities bundle as Felix suggested
>> c) leave everything as it is
>>
>> I'm personally in favour of a) :)
>>
>> Carsten
>>
>>
> 


-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to