felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: [jira] Created: (FELIX-250) Modify main to copy framework properties from the system properties.
Date Sun, 11 Mar 2007 17:03:39 GMT
Tim Moloney wrote:
> Niclas Hedhman wrote:
>> On Saturday 10 March 2007 20:32, Tim Moloney (JIRA) wrote:
>>  
>>> Modify main to copy framework properties from the system properties.
>>>     
>>
>> IMHO, this is perhaps not such a good idea. System properties are JVM 
>> global, and I think you should try to avoid overusing them. Think
>> And if you really insist, you can always add "system bundles" to 
>> Felix which does this, or for that matter have your own Tim.main() 
>> that does that and shoots up Felix.
>>
>> Cheers
>> Niclas
>>   
>
> The only problem that I can see is if you are running more than one 
> instance of the Felix class.  My patch only changes the main class to 
> copy the Felix system properties to the framework properties which are 
> passed to its one instance of the Felix class.  If you are running 
> more than one instance of Felix, then you aren't using the Main class 
> and my patch doesn't change anything.  Am I missing something?

Yes, that is correct.

-> richard

Mime
View raw message