@ConsumerType public interface TargetResourceTypeProvider
TargetResourceTypeProviderallows implementing classes to register a resource type to be used instead of the default targeting resource type. The default resource type is
personalization/components/targetwhich provides the default AEM targeting behavior however if custom behavior is required, implementing classes can register a resource type that support their targeting specific requirements. Classes that implement the
TargetResourceTypeProviderregister their service with a property name of
TargetResourceTypeProvider.PROP_RESOURCE_PROVIDERand a value of their specific resource type.
@Property(name = TargetResourceTypeProvider.PROP_RESOURCE_PROVIDER, value = MyCustomTargetResourceTypeProvider.RESOURCE_TYPE)
|Modifier and Type||Field and Description|
The name of the service registration property indicating the name of the operation provided by the operation implementation.
static final java.lang.String PROP_RESOURCE_PROVIDER
Copyright © 2010 - 2020 Adobe. All Rights Reserved