Package org.jboss.osgi.resolver

Examples of org.jboss.osgi.resolver.XResourceBuilder.addCapability()


                    contentFile = getRepositoryEntry(modulesDir, moduleIdentifier);
                }
                if (contentFile != null) {
                    URL contentURL = contentFile.toURI().toURL();
                    XResourceBuilder builder = URLResourceBuilderFactory.create(contentURL, null, true);
                    XCapability cap = builder.addCapability(MODULE_IDENTITY_NAMESPACE, moduleId);
                    builder.getResource();
                    result.add(cap);
                }
            } catch (RepositoryResolutionException ex) {
                throw ex;
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.