Class OsgiUtil


  • public class OsgiUtil
    extends java.lang.Object
    Tested by com.yahoo.application.container.jersey.JerseyTest
    Author:
    Tony Vaagenes, ollivir
    • Constructor Summary

      Constructors 
      Constructor Description
      OsgiUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<java.lang.String> getClassEntriesForBundleUsingProjectClassPathMappings​(java.lang.ClassLoader classLoader, com.yahoo.component.ComponentSpecification bundleSpec, java.util.Set<java.lang.String> packagesToScan)  
      static java.util.Collection<java.lang.String> getClassEntriesInBundleClassPath​(org.osgi.framework.Bundle bundle, java.util.Set<java.lang.String> packagesToScan)  
      static com.yahoo.osgi.maven.ProjectBundleClassPaths.BundleClasspathMapping matchingBundleClassPathMapping​(com.yahoo.component.ComponentSpecification bundleSpec, java.util.Collection<com.yahoo.osgi.maven.ProjectBundleClassPaths.BundleClasspathMapping> providedBundlesClassPathMappings)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OsgiUtil

        public OsgiUtil()
    • Method Detail

      • getClassEntriesInBundleClassPath

        public static java.util.Collection<java.lang.String> getClassEntriesInBundleClassPath​(org.osgi.framework.Bundle bundle,
                                                                                              java.util.Set<java.lang.String> packagesToScan)
      • getClassEntriesForBundleUsingProjectClassPathMappings

        public static java.util.Collection<java.lang.String> getClassEntriesForBundleUsingProjectClassPathMappings​(java.lang.ClassLoader classLoader,
                                                                                                                   com.yahoo.component.ComponentSpecification bundleSpec,
                                                                                                                   java.util.Set<java.lang.String> packagesToScan)
      • matchingBundleClassPathMapping

        public static com.yahoo.osgi.maven.ProjectBundleClassPaths.BundleClasspathMapping matchingBundleClassPathMapping​(com.yahoo.component.ComponentSpecification bundleSpec,
                                                                                                                         java.util.Collection<com.yahoo.osgi.maven.ProjectBundleClassPaths.BundleClasspathMapping> providedBundlesClassPathMappings)