org.apache.karaf.shell.osgi
Class BlueprintListener
java.lang.Object
org.apache.karaf.shell.osgi.BlueprintListener
- All Implemented Interfaces:
- java.util.EventListener, BundleStateListener, BundleStateListener.Factory, BundleListener, org.osgi.service.blueprint.container.BlueprintListener
public class BlueprintListener
- extends java.lang.Object
- implements org.osgi.service.blueprint.container.BlueprintListener, BundleListener, BundleStateListener, BundleStateListener.Factory
TODO: use event admin to receive WAIT topics notifications from blueprint extender
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlueprintListener
public BlueprintListener()
getName
public java.lang.String getName()
- Specified by:
getName in interface BundleStateListener
getState
public java.lang.String getState(Bundle bundle)
- Specified by:
getState in interface BundleStateListener
getListener
public BundleStateListener getListener()
- Specified by:
getListener in interface BundleStateListener.Factory
getBlueprintState
public BlueprintListener.BlueprintState getBlueprintState(Bundle bundle)
blueprintEvent
public void blueprintEvent(org.osgi.service.blueprint.container.BlueprintEvent blueprintEvent)
- Specified by:
blueprintEvent in interface org.osgi.service.blueprint.container.BlueprintListener
bundleChanged
public void bundleChanged(BundleEvent event)
- Specified by:
bundleChanged in interface BundleListener
setBundleContext
public void setBundleContext(BundleContext bundleContext)
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007-2011 FuseSource, Corp.. All Rights Reserved.