Class LocalResourceImpl

java.lang.Object
org.apache.felix.bundlerepository.impl.ResourceImpl
org.apache.felix.bundlerepository.impl.LocalResourceImpl
All Implemented Interfaces:
LocalResource, Resource, org.osgi.framework.BundleReference

public class LocalResourceImpl extends ResourceImpl implements LocalResource
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class ResourceImpl