Class SpringStateService
- java.lang.Object
-
- org.apache.karaf.bundle.state.spring.internal.SpringStateService
-
- All Implemented Interfaces:
EventListener,org.apache.karaf.bundle.core.BundleStateService,org.osgi.framework.BundleListener,org.springframework.osgi.context.event.OsgiBundleApplicationContextListener
public class SpringStateService extends Object implements org.springframework.osgi.context.event.OsgiBundleApplicationContextListener, org.osgi.framework.BundleListener, org.apache.karaf.bundle.core.BundleStateService
-
-
Constructor Summary
Constructors Constructor Description SpringStateService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbundleChanged(org.osgi.framework.BundleEvent event)StringgetDiag(org.osgi.framework.Bundle bundle)StringgetName()org.apache.karaf.bundle.core.BundleStategetState(org.osgi.framework.Bundle bundle)voidonOsgiApplicationEvent(org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent event)
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.apache.karaf.bundle.core.BundleStateService
-
getState
public org.apache.karaf.bundle.core.BundleState getState(org.osgi.framework.Bundle bundle)
- Specified by:
getStatein interfaceorg.apache.karaf.bundle.core.BundleStateService
-
getDiag
public String getDiag(org.osgi.framework.Bundle bundle)
- Specified by:
getDiagin interfaceorg.apache.karaf.bundle.core.BundleStateService
-
onOsgiApplicationEvent
public void onOsgiApplicationEvent(org.springframework.osgi.context.event.OsgiBundleApplicationContextEvent event)
- Specified by:
onOsgiApplicationEventin interfaceorg.springframework.osgi.context.event.OsgiBundleApplicationContextListener
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-
-