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, org.osgi.framework.BundleListener, org.osgi.service.blueprint.container.BlueprintListener
public class BlueprintListener
- extends java.lang.Object
- implements org.osgi.service.blueprint.container.BlueprintListener, org.osgi.framework.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(org.osgi.framework.Bundle bundle)
- Specified by:
getState
in interface BundleStateListener
getListener
public BundleStateListener getListener()
- Specified by:
getListener
in interface BundleStateListener.Factory
getBlueprintState
public BlueprintListener.BlueprintState getBlueprintState(org.osgi.framework.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(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interface org.osgi.framework.BundleListener
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
init
public void init()
throws Exception
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Throws:
Exception
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.