Package org.apache.karaf.features.internal.service

Examples of org.apache.karaf.features.internal.service.FeaturesServiceImpl.listFeatures()


        FeaturesServiceImpl svc = new FeaturesServiceImpl(null, bundleContext, new Storage(), null, null, null, null, null, null, null, null, null);
        svc.addRepository(uri);
        try {
            List<String> features = new ArrayList<String>();
            for (Feature feature : svc.listFeatures()) {
                features.add(feature.getId());
            }
            Collections.reverse(features);
            svc.installFeatures(new CopyOnWriteArraySet<String>(features),
                                EnumSet.noneOf(FeaturesService.Option.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.