Uses of Interface
io.wcm.sling.commons.caservice.ContextAwareService
-
Packages that use ContextAwareService Package Description io.wcm.sling.commons.caservice Context-Aware services. -
-
Uses of ContextAwareService in io.wcm.sling.commons.caservice
Classes in io.wcm.sling.commons.caservice with type parameters of type ContextAwareService Modifier and Type Interface Description interface
ContextAwareServiceCollectionResolver<S extends ContextAwareService,D>
Resolves the best-matching context-aware service implementation.static interface
ContextAwareServiceResolver.ResolveAllResult<S extends ContextAwareService>
Result of theContextAwareServiceResolver.resolveAll(Class, Adaptable)
method.Methods in io.wcm.sling.commons.caservice with type parameters of type ContextAwareService Modifier and Type Method Description <S extends ContextAwareService>
@NotNull ContextAwareServiceCollectionResolver<S,java.lang.Void>ContextAwareServiceResolver. getCollectionResolver(@NotNull java.util.Collection<org.osgi.framework.ServiceReference<S>> serviceReferenceCollection)
Gets aContextAwareServiceCollectionResolver
which operates on a given collection of service references of the required service.<S extends ContextAwareService,D>
@NotNull ContextAwareServiceCollectionResolver<S,D>ContextAwareServiceResolver. getCollectionResolver(@NotNull java.util.Collection<org.osgi.framework.ServiceReference<S>> serviceReferenceCollection, @NotNull java.util.function.BiFunction<@NotNull org.osgi.framework.ServiceReference<S>,@Nullable S,@Nullable D> decorator)
Gets aContextAwareServiceCollectionResolver
which operates on a given collection of service references of the required service.<S extends ContextAwareService>
SContextAwareServiceResolver. resolve(@NotNull java.lang.Class<S> serviceClass, @Nullable org.apache.sling.api.adapter.Adaptable adaptable)
Resolves the best-matching service implementation for the given resource context.<S extends ContextAwareService>
@NotNull ContextAwareServiceResolver.ResolveAllResult<S>ContextAwareServiceResolver. resolveAll(@NotNull java.lang.Class<S> serviceClass, @Nullable org.apache.sling.api.adapter.Adaptable adaptable)
Resolves all matching service implementations for the given resource context.
-