org.apache.aries.quiesce.participant
Interface QuiesceParticipant


public interface QuiesceParticipant

Interface for OSGi containers / extenders to hook into the quiesce mechanism. An extender such as Blueprint should implement a QuiesceParticipant and register it as a service in the service registry.


Method Summary
 void quiesce(QuiesceCallback callback, List<Bundle> bundlesToQuiesce)
          Request a number of bundles to be quiesced by this participant This method must be non-blocking.
 

Method Detail

quiesce

void quiesce(QuiesceCallback callback,
             List<Bundle> bundlesToQuiesce)
Request a number of bundles to be quiesced by this participant This method must be non-blocking.

Parameters:
callback - The callback with which to alert the manager of successful quiesce completion (from the view of this participant)
bundlesToQuiesce - The bundles scheduled to be quiesced


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.