Package org.apache.karaf.eik.core.features

Examples of org.apache.karaf.eik.core.features.Bundle


            }
        } else if (element instanceof Feature) {
            final Feature feature = (Feature) element;
            return feature.getName();
        } else if (element instanceof Bundle) {
            final Bundle bundle = (Bundle) element;
            final String label;
            if (bundle.getBundleUrl().startsWith(MVN_URL_PREFIX)) {
                final String[] bundleComponents = bundle.getBundleUrl().split("/"); //$NON-NLS-1$
                label = bundleComponents[1];
            } else {
                label = element.toString();
            }
View Full Code Here


        if (element.getName().equalsIgnoreCase("repository")) {
            return new Repository(element);
        } else if (element.getName().equalsIgnoreCase("feature")) {
            return new Feature(element);
        } else if (element.getName().equalsIgnoreCase("bundle")) {
            return new Bundle(element);
        } else if (element.getName().equalsIgnoreCase("features")) {
            return new Features(element, null);
        } else {
            return object;
        }
View Full Code Here

TOP

Related Classes of org.apache.karaf.eik.core.features.Bundle

Copyright © 2018 www.massapicom. 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.