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, 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, 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(BundleContext bundleContext)
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface SpringStateListenerFactory.Destroyable
- Throws:
java.lang.Exception
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
getSpringState
public SpringStateListenerFactory.SpringApplicationListener.SpringState getSpringState(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(BundleEvent event)
- Specified by:
bundleChanged in interface BundleListener
Copyright © 2007-2011 FuseSource, Corp.. All Rights Reserved.