org.apache.karaf.shell.osgi
Class SpringStateListenerFactory

java.lang.Object
  extended by org.apache.karaf.shell.osgi.SpringStateListenerFactory
All Implemented Interfaces:
BundleStateListener.Factory

public class SpringStateListenerFactory
extends java.lang.Object
implements BundleStateListener.Factory


Nested Class Summary
static interface SpringStateListenerFactory.Destroyable
           
static class SpringStateListenerFactory.SpringApplicationListener
           
 
Constructor Summary
SpringStateListenerFactory()
           
 
Method Summary
 void destroy()
           
 BundleStateListener getListener()
           
 void init()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringStateListenerFactory

public SpringStateListenerFactory()
Method Detail

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)

init

public void init()

destroy

public void destroy()
             throws Exception
Throws:
Exception

getListener

public BundleStateListener getListener()
Specified by:
getListener in interface BundleStateListener.Factory


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.