Package | Description |
---|---|
org.apache.sling.scripting.spi.bundle |
Modifier and Type | Method and Description |
---|---|
@Nullable BundledRenderUnit |
BundledRenderUnitFinder.findUnit(@NotNull org.osgi.framework.BundleContext context,
@NotNull java.util.Set<TypeProvider> inheritanceChain,
@NotNull java.util.Set<TypeProvider> allRelatedProviders)
Retrieves the best matching
BundledRenderUnit for the provided inheritanceChain , by scanning all TypeProvider
bundles for the class or script capable of providing a rendering for resource type chain. |
@Nullable BundledRenderUnit |
BundledRenderUnitFinder.findUnit(@NotNull org.osgi.framework.BundleContext context,
@NotNull TypeProvider provider,
@NotNull java.util.Set<TypeProvider> allRelatedProviders)
Retrieves a path-based
BundledRenderUnit from the passed provider . |
Copyright © 2022 The Apache Software Foundation. All rights reserved.