Package org.apache.felix.sigil.common.model.osgi

Examples of org.apache.felix.sigil.common.model.osgi.IBundleModelElement.children()


            IBldProject project;

            project = BldFactory.getProject(uri);

            IBundleModelElement requirements = project.getDependencies();
            Log.verbose("requirements: " + Arrays.asList(requirements.children()));

            // preserve version range for Require-Bundle
            // XXX: synthesise bundle version range corresponding to package version ranges?
            HashMap<String, VersionRange> versions = new HashMap<String, VersionRange>();
            for (IModelElement child : requirements.children())
View Full Code Here


            Log.verbose("requirements: " + Arrays.asList(requirements.children()));

            // preserve version range for Require-Bundle
            // XXX: synthesise bundle version range corresponding to package version ranges?
            HashMap<String, VersionRange> versions = new HashMap<String, VersionRange>();
            for (IModelElement child : requirements.children())
            {
                if (child instanceof IRequiredBundle)
                {
                    IRequiredBundle bundle = (IRequiredBundle) child;
                    versions.put(bundle.getSymbolicName(), bundle.getVersions());
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.