Class BundleRenderUnitFinderImpl

  • All Implemented Interfaces:
    EventListener, org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder, org.osgi.framework.BundleListener

    public class BundleRenderUnitFinderImpl
    extends Object
    implements org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder, org.osgi.framework.BundleListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bundleChanged​(org.osgi.framework.BundleEvent event)  
      @Nullable org.apache.sling.scripting.spi.bundle.BundledRenderUnit findUnit​(@NotNull org.osgi.framework.BundleContext context, @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> providers, @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> allProviders)  
      @Nullable org.apache.sling.scripting.spi.bundle.BundledRenderUnit findUnit​(@NotNull org.osgi.framework.BundleContext context, @NotNull org.apache.sling.scripting.spi.bundle.TypeProvider provider, @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> providers)  
    • Constructor Detail

      • BundleRenderUnitFinderImpl

        public BundleRenderUnitFinderImpl()
    • Method Detail

      • findUnit

        @Nullable
        public @Nullable org.apache.sling.scripting.spi.bundle.BundledRenderUnit findUnit​(@NotNull
                                                                                          @NotNull org.osgi.framework.BundleContext context,
                                                                                          @NotNull
                                                                                          @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> providers,
                                                                                          @NotNull
                                                                                          @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> allProviders)
        Specified by:
        findUnit in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
      • findUnit

        @Nullable
        public @Nullable org.apache.sling.scripting.spi.bundle.BundledRenderUnit findUnit​(@NotNull
                                                                                          @NotNull org.osgi.framework.BundleContext context,
                                                                                          @NotNull
                                                                                          @NotNull org.apache.sling.scripting.spi.bundle.TypeProvider provider,
                                                                                          @NotNull
                                                                                          @NotNull Set<org.apache.sling.scripting.spi.bundle.TypeProvider> providers)
        Specified by:
        findUnit in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener