|Re: [equinox-dev] Re-starting Equinox programmatically|
Reply-To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date: Wednesday, May 30, 2012 4:09 PM
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Subject: Re: [equinox-dev] Re-starting Equinox programmatically
That's not the same kind of refresh. I am trying to change framework properties, which are immutable for a framework instance and require a new instance to be created from the factory. During the creation, the configuration is passed. However, Equinox internally uses a static FrameworkProperties class variable to store the properties and in its logic switches the framework class loader when it detects that it was already configured. There is no way to un-set the properties in that class and it is loaded by the AppClassLoader, so doesn't get reloaded either.