Class BlueprintCamelStateService

    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Method Detail

      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)
      • setBundleState

        public void setBundleState​(org.osgi.framework.Bundle bundle,
                                   String contextId,
                                   BlueprintCamelStateService.State state)
        One of four states is set for given Bundle and context Id. One (blueprint) bundle may declare one or more Camel context.
        Parameters:
        contextId -
        state -
      • getExceptions

        public Map<String,​ThrowablegetExceptions​(org.osgi.framework.Bundle bundle)
        Get exceptions for all camel contexts for given bundle
        Parameters:
        bundle -
        Returns:
      • init

        public void init()
        Attempts to register Karaf-specific BundleStateService - if possible
      • destroy

        public void destroy()
        Unregisters any OSGi service registered