|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.loader.MetaInfScannerBundleTrackerCustomizer
public class MetaInfScannerBundleTrackerCustomizer
Tracker of META/INF entries in bundles.
| Constructor Summary | |
|---|---|
MetaInfScannerBundleTrackerCustomizer(org.osgi.framework.BundleContext bundleContext)
Default constructor. |
|
| Method Summary | |
|---|---|
Object |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
A bundle is being added to the BundleTracker. |
List<URL> |
getEntries(String name)
Gets the list of the current URL entries. |
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
A bundle tracked by the BundleTracker has been modified. |
void |
refresh()
Refresh data of all URL entries. |
List<URL> |
register(org.osgi.framework.Bundle bundle)
Find the URLs entries available in the given Bundle. |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
A bundle tracked by the BundleTracker has been removed. |
void |
unregister(org.osgi.framework.Bundle bundle)
Unregister the URLs associated to the given bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaInfScannerBundleTrackerCustomizer(org.osgi.framework.BundleContext bundleContext)
bundleContext - the given bundle context| Method Detail |
|---|
public Object addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizerbundle - The Bundle being added to the BundleTracker.event - The bundle event which caused this customizer method to be
called or null if there is no bundle event associated with the call to
this method.
public void modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizerbundle - The Bundle whose state has been modified.event - The bundle event which caused this customizer method to be
called or null if there is no bundle event associated with the call to
this method.object - The tracked object for the specified bundle.
public void removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizerbundle - The Bundle that has been removed.event - The bundle event which caused this customizer method to be
called or null if there is no bundle event associated with the call to
this method.object - The tracked object for the specified bundle.public List<URL> register(org.osgi.framework.Bundle bundle)
bundle - the bundle to analyze
public void unregister(org.osgi.framework.Bundle bundle)
bundle - the bundle that is stoppingpublic void refresh()
public List<URL> getEntries(String name)
name - the given name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||