org.apache.karaf.shell.osgi
Class SpringStateListenerFactory.SpringApplicationListener

java.lang.Object
  extended by 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


Nested Class Summary
static class SpringStateListenerFactory.SpringApplicationListener.SpringState
           
 
Nested classes/interfaces inherited from interface org.apache.karaf.shell.osgi.BundleStateListener
BundleStateListener.Factory
 
Constructor Summary
SpringStateListenerFactory.SpringApplicationListener(BundleContext bundleContext)
           
 
Method Summary
 void bundleChanged(BundleEvent event)
           
 void destroy()
           
 java.lang.String getName()
           
 SpringStateListenerFactory.SpringApplicationListener.SpringState getSpringState(Bundle bundle)
           
 java.lang.String getState(Bundle bundle)
           
 void onOsgiApplicationEvent(org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringStateListenerFactory.SpringApplicationListener

public SpringStateListenerFactory.SpringApplicationListener(BundleContext bundleContext)
Method Detail

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.