Why not simply decreasing the start level that only the web console
runs, installing the new stuff, and increasing the start level again?

Carsten

2012/8/22 Bertrand Delacretaz <bdelacre...@apache.org>:
> On Tue, Aug 21, 2012 at 11:02 PM, Sam Lee <skyn...@gmail.com> wrote:
>> The component gets disabled during deployment  :P.
>>
>> Maybe I need to create a separate OSGi bundle  for this....
>
> Yes, if the bundle that contains your filter is affected by upgrades
> that will stop the filter ;-)
>
> BTW I just remembered that we do have such a filter in Sling, see
> https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/startup-filter
> and SLING-2347 - sorry that I didn't mention that earlier.
>
> The use case is slightly different but that might be useful.
>
> -Bertrand



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

Reply via email to