@ConsumerType
public interface TargetResourceTypeProvider
TargetResourceTypeProvider
allows implementing classes to register a resource type
to be used instead of the default targeting resource type. The default resource type is
personalization/components/target
which 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 TargetResourceTypeProvider
register their service with a property name
of TargetResourceTypeProvider.PROP_RESOURCE_PROVIDER
and a value of their specific resource type.
@Property(name = TargetResourceTypeProvider.PROP_RESOURCE_PROVIDER, value = MyCustomTargetResourceTypeProvider.RESOURCE_TYPE)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_RESOURCE_PROVIDER
The name of the service registration property indicating the name of
the operation provided by the operation implementation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceType()
Return the resource type associated with the provider.
|
static final java.lang.String PROP_RESOURCE_PROVIDER
Copyright © 2010 - 2023 Adobe. All Rights Reserved