Class LocalResourceImpl

    • Field Detail

      • m_bundle

        private org.osgi.framework.Bundle m_bundle
    • Constructor Detail

      • LocalResourceImpl

        LocalResourceImpl​(org.osgi.framework.Bundle bundle)
                   throws org.osgi.framework.InvalidSyntaxException
        Throws:
        org.osgi.framework.InvalidSyntaxException
    • Method Detail

      • isLocal

        public boolean isLocal()
        Description copied from interface: Resource
        Returns whether this resource is a local one or not. Local resources are already available in the OSGi framework and thus will be preferred over other resources.
        Specified by:
        isLocal in interface Resource
        Overrides:
        isLocal in class ResourceImpl
      • getBundle

        public org.osgi.framework.Bundle getBundle()
        Specified by:
        getBundle in interface org.osgi.framework.BundleReference
      • initialize

        private void initialize()
                         throws org.osgi.framework.InvalidSyntaxException
        Throws:
        org.osgi.framework.InvalidSyntaxException
      • convertExportServiceToCapability

        private void convertExportServiceToCapability​(java.util.Dictionary dict,
                                                      org.osgi.framework.Bundle bundle)