Class SisuBundlePlan

    • Method Detail

      • prepare

        public BindingPublisher prepare​(org.osgi.framework.Bundle bundle)
        Description copied from interface: BundlePlan
        Prepares a BindingPublisher of components for the given bundle.
        Specified by:
        prepare in interface BundlePlan
        Parameters:
        bundle - The bundle
        Returns:
        Publisher of bindings; null if the plan doesn't apply
      • appliesTo

        protected boolean appliesTo​(org.osgi.framework.Bundle bundle)
        Returns:
        true if plan applies to the bundle; otherwise false
      • inject

        protected com.google.inject.Injector inject​(com.google.inject.Module module)
        Creates an Injector from the composed Module configuration.
        Parameters:
        module - The module
        Returns:
        Bundle injector
      • compose

        protected com.google.inject.Module compose​(org.osgi.framework.Bundle bundle)
        Composes a Module that configures components from the given bundle.
        Parameters:
        bundle - The bundle
        Returns:
        Bundle module