Class ComponentBundleActivatorBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static Logger LOG  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy​(org.osgi.framework.BundleContext bundleContext, org.apache.felix.dm.DependencyManager dependencyManager)  
      org.osgi.framework.BundleContext getBundleContext()
      Provides access to bundleContext for subClasses.
      protected abstract ComponentBundleDefinition getBundleDefinition()
      Concrete implementations need to implements this method in order to specify the components the componentbundle whishes to register.
      protected org.apache.felix.dm.DependencyManager getDependencyManagerContext()
      Provides access to dependencyManager for subClasses.
      void init​(org.osgi.framework.BundleContext bundleContext, org.apache.felix.dm.DependencyManager dependencyManager)  
      • Methods inherited from class org.apache.felix.dm.DependencyActivatorBase

        createAdapterService, createAdapterService, createAdapterService, createAdapterService, createAdapterService, createAdapterService, createAspectService, createAspectService, createAspectService, createAspectService, createAspectService, createBundleAdapterService, createBundleAdapterService, createBundleDependency, createComponent, createConfigurationDependency, createFactoryConfigurationAdapterService, createFactoryConfigurationAdapterService, createFactoryConfigurationAdapterService, createFactoryConfigurationAdapterService, createFactoryConfigurationAdapterService, createPropertyMetaData, createResourceAdapter, createResourceAdapter, createResourceAdapter, createResourceAdapter, createResourceDependency, createServiceDependency, createTemporalServiceDependency, getDependencyManager, getLogger, start, stop
    • Field Detail

      • LOG

        protected static final Logger LOG
    • Constructor Detail

      • ComponentBundleActivatorBase

        public ComponentBundleActivatorBase()
    • Method Detail

      • init

        public void init​(org.osgi.framework.BundleContext bundleContext,
                         org.apache.felix.dm.DependencyManager dependencyManager)
                  throws Exception
        Specified by:
        init in class org.apache.felix.dm.DependencyActivatorBase
        Throws:
        Exception
      • destroy

        public final void destroy​(org.osgi.framework.BundleContext bundleContext,
                                  org.apache.felix.dm.DependencyManager dependencyManager)
                           throws Exception
        Overrides:
        destroy in class org.apache.felix.dm.DependencyActivatorBase
        Throws:
        Exception
      • getBundleContext

        public final org.osgi.framework.BundleContext getBundleContext()
        Provides access to bundleContext for subClasses.
        Overrides:
        getBundleContext in class org.apache.felix.dm.DependencyActivatorBase
        Returns:
        the bundleContext
      • getDependencyManagerContext

        protected final org.apache.felix.dm.DependencyManager getDependencyManagerContext()
        Provides access to dependencyManager for subClasses.
        Returns:
        the dependencyManager
      • getBundleDefinition

        protected abstract ComponentBundleDefinition getBundleDefinition()
        Concrete implementations need to implements this method in order to specify the components the componentbundle whishes to register.
        Returns:
        the componentBudleDefinition