Class LocalRepositoryImpl

java.lang.Object
org.apache.felix.bundlerepository.impl.LocalRepositoryImpl
All Implemented Interfaces:
EventListener, Repository, org.osgi.framework.AllServiceListener, org.osgi.framework.BundleListener, org.osgi.framework.ServiceListener, org.osgi.framework.SynchronousBundleListener

public class LocalRepositoryImpl extends Object implements Repository, org.osgi.framework.SynchronousBundleListener, org.osgi.framework.AllServiceListener
  • Constructor Details

    • LocalRepositoryImpl

      public LocalRepositoryImpl(org.osgi.framework.BundleContext context, org.apache.felix.utils.log.Logger logger)
  • Method Details

    • bundleChanged

      public void bundleChanged(org.osgi.framework.BundleEvent event)
      Specified by:
      bundleChanged in interface org.osgi.framework.BundleListener
    • serviceChanged

      public void serviceChanged(org.osgi.framework.ServiceEvent event)
      Specified by:
      serviceChanged in interface org.osgi.framework.ServiceListener
    • dispose

      public void dispose()
    • getURI

      public String getURI()
      Description copied from interface: Repository
      Return the associated URL for the repository.
      Specified by:
      getURI in interface Repository
    • getName

      public String getName()
      Description copied from interface: Repository
      Return the name of this repository.
      Specified by:
      getName in interface Repository
      Returns:
      a non-null name
    • getLastModified

      public long getLastModified()
      Description copied from interface: Repository
      Return the last modification date of this repository
      Specified by:
      getLastModified in interface Repository
      Returns:
      the last modification date
    • getResources

      public Resource[] getResources()
      Description copied from interface: Repository
      Return the resources for this repository.
      Specified by:
      getResources in interface Repository