+1 for providing an info service. It's exactly in line with the refactoring currently in progress.

Regards
JB

On 11/30/2011 07:32 PM, David Jencks wrote:
One of the early design goals of geronimo was to avoid needing any system properties to 
be set.  To handle "where are we" type questions we had a ServerInfo service 
that knows what the home and base directories are and can resolve uris against them.

I think it would be useful to have such a service in karaf as well.  In 
addition I'd like it to be able to supply the String[] command line arguments 
karaf was started with.

I was thinking this could be in the org.apache.karaf.info package and that 
could be exported from the framework.  This service could be registered by the 
startup code.

At the moment I'm just thinking about providing the service.  I haven't looked 
into changing all uses of the home and base directory system properties to use 
such a service instead; I think that in principle it would be a good idea but I 
don't know if I'll have enough time for it right now.

thoughts?

thanks
david jencks


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to