org.apache.karaf.shell.osgi
Class SpringStateListenerFactory.SpringApplicationListener
java.lang.Object
org.apache.karaf.shell.osgi.SpringStateListenerFactory.SpringApplicationListener
- All Implemented Interfaces:
- java.util.EventListener, BundleStateListener, SpringStateListenerFactory.Destroyable, org.osgi.framework.BundleListener, org.springframework.osgi.context.event.OsgiBundleApplicationContextListener
- Enclosing class:
- SpringStateListenerFactory
public static class SpringStateListenerFactory.SpringApplicationListener
- extends java.lang.Object
- implements org.springframework.osgi.context.event.OsgiBundleApplicationContextListener, org.osgi.framework.BundleListener, SpringStateListenerFactory.Destroyable, BundleStateListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringStateListenerFactory.SpringApplicationListener
public SpringStateListenerFactory.SpringApplicationListener(org.osgi.framework.BundleContext bundleContext)
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface SpringStateListenerFactory.Destroyable
- Throws:
Exception
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
getSpringState
public SpringStateListenerFactory.SpringApplicationListener.SpringState getSpringState(org.osgi.framework.Bundle bundle)
onOsgiApplicationEvent
public void onOsgiApplicationEvent(org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent event)
- Specified by:
onOsgiApplicationEvent
in interface org.springframework.osgi.context.event.OsgiBundleApplicationContextListener
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interface org.osgi.framework.BundleListener
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.