Thanks Richard...

On Wed, Jul 25, 2012 at 3:52 PM, Richard S. Hall <[email protected]>wrote:
>
> Would not be a good idea. Synchronous listeners are not supposed to change
> the state of the bundle they receive an event about since the framework is
> often in the middle of some operation on them.
>

Ok, makes sense.


> The best way to do this sort of stuff is to create a management agent that
> records, deploys, and reinstates the proper state of your application after
> deployment operations.


So would the agent record the current state for each bundle, stop each
bundle, update it, refresh, then restart?

If there are references for the best way of doing this do let me know (to
avoid cluttering the mailing list!).

Dan

Reply via email to