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
LOCAL, SYSTEM
Constructor | Description |
---|---|
LocalRepositoryImpl(org.osgi.framework.BundleContext context,
org.apache.felix.utils.log.Logger logger) |
Modifier and Type | Method | Description |
---|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
|
void |
dispose() |
|
long |
getLastModified() |
Return the last modification date of this repository
|
String |
getName() |
Return the name of this repository.
|
Resource[] |
getResources() |
Return the resources for this repository.
|
String |
getURI() |
Return the associated URL for the repository.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
public LocalRepositoryImpl(org.osgi.framework.BundleContext context, org.apache.felix.utils.log.Logger logger)
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
public void dispose()
public String getURI()
Repository
getURI
in interface Repository
public String getName()
Repository
getName
in interface Repository
public long getLastModified()
Repository
getLastModified
in interface Repository
public Resource[] getResources()
Repository
getResources
in interface Repository
Copyright © 2018. All rights reserved.