Examples of quiesce()


Examples of org.apache.aries.quiesce.participant.QuiesceParticipant.quiesce()

   
    QuiesceCallback cbk = Skeleton.newMock(QuiesceCallback.class);
   
    QuiesceParticipant p = (QuiesceParticipant) ctx.getService(ctx.getServiceReference(QuiesceParticipant.class.getName()));
 
    p.quiesce(cbk, Collections.singletonList(extenderBundle));
   
    Thread.sleep(100);
   
    Skeleton.getSkeleton(cbk).assertNotCalled(new MethodCall(QuiesceCallback.class,
        "bundleQuiesced", Bundle[].class));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.