Uses of Interface
io.wcm.sling.commons.caservice.ContextAwareService
Packages that use ContextAwareService
-
Uses of ContextAwareService in io.wcm.sling.commons.caservice
Classes in io.wcm.sling.commons.caservice with type parameters of type ContextAwareServiceModifier and TypeInterfaceDescriptioninterfaceContextAwareServiceCollectionResolver<S extends ContextAwareService,D> Resolves the best-matching context-aware service implementation.static interfaceResult of theContextAwareServiceResolver.resolveAll(Class, Adaptable)method.Methods in io.wcm.sling.commons.caservice with type parameters of type ContextAwareServiceModifier and TypeMethodDescription<S extends ContextAwareService>
@NotNull ContextAwareServiceCollectionResolver<S, Void> ContextAwareServiceResolver.getCollectionResolver(@NotNull Collection<org.osgi.framework.ServiceReference<S>> serviceReferenceCollection) Gets aContextAwareServiceCollectionResolverwhich operates on a given collection of service references of the required service.<S extends ContextAwareService,D>
@NotNull ContextAwareServiceCollectionResolver<S, D> ContextAwareServiceResolver.getCollectionResolver(@NotNull Collection<org.osgi.framework.ServiceReference<S>> serviceReferenceCollection, @NotNull BiFunction<@NotNull org.osgi.framework.ServiceReference<S>, @Nullable S, @Nullable D> decorator) Gets aContextAwareServiceCollectionResolverwhich operates on a given collection of service references of the required service.<S extends ContextAwareService>
SContextAwareServiceResolver.resolve(@NotNull 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 Class<S> serviceClass, @Nullable org.apache.sling.api.adapter.Adaptable adaptable) Resolves all matching service implementations for the given resource context.