Package org.apache.aries.util.tracker

Examples of org.apache.aries.util.tracker.InternalRecursiveBundleTracker.open()


        BundleTrackerCustomizer customizer = Skeleton.newMock(BundleTrackerCustomizer.class);

        InternalRecursiveBundleTracker sut = new InternalRecursiveBundleTracker(context,
                Bundle.INSTALLED | Bundle.STARTING | Bundle.ACTIVE | Bundle.STOPPING, customizer);
       
        sut.open();
       
        CompositeBundle cb = Skeleton.newMock(CompositeBundle.class);
        Skeleton cbSkel = Skeleton.getSkeleton(cb);
        cbSkel.setReturnValue(new MethodCall(CompositeBundle.class, "getSymbolicName"), "test.composite");
        cbSkel.setReturnValue(new MethodCall(CompositeBundle.class, "getVersion"), new Version("1.0.0"));
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.