com.francetelecom.admindm.osgi
Class OSGIBundleListener
java.lang.Object
com.francetelecom.admindm.osgi.OSGIBundleListener
- All Implemented Interfaces:
- java.util.EventListener, org.osgi.framework.BundleListener
public class OSGIBundleListener
- extends java.lang.Object
- implements org.osgi.framework.BundleListener
The listener interface for receiving OSGIBundle events. The class that is
interested in processing a OSGIBundle event implements this interface, and
the object created with that class is registered with a component using the
component's addOSGIBundleListener method. When
the OSGIBundle event occurs, that object's appropriate
method is invoked.
- See Also:
OSGIBundleEvent
|
Field Summary |
static java.lang.String |
bundlePath
The Constant bundlePath. |
static java.lang.String |
osgiPath
The Constant osgiPath. |
|
Method Summary |
void |
bundleChanged(org.osgi.framework.BundleEvent event)
Bundle changed. |
void |
createOrUpdateDataModel(org.osgi.framework.Bundle bundle)
Creates the or update data model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
osgiPath
public static final java.lang.String osgiPath
- The Constant osgiPath.
- See Also:
- Constant Field Values
bundlePath
public static final java.lang.String bundlePath
- The Constant bundlePath.
- See Also:
- Constant Field Values
OSGIBundleListener
public OSGIBundleListener(IParameterData pData,
BundleNumberOfEntriesUpdater pUpdater)
- Instantiates a new oSGI bundle listener.
- Parameters:
pData - the datapUpdater - the updater
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Bundle changed.
- Specified by:
bundleChanged in interface org.osgi.framework.BundleListener
- Parameters:
event - the event
createOrUpdateDataModel
public void createOrUpdateDataModel(org.osgi.framework.Bundle bundle)
- Creates the or update data model.
- Parameters:
bundle - the bundle
Copyright © 2011 FranceTelecom. All Rights Reserved.