Package com.day.cq.personalization
Interface TargetResourceTypeProvider
-
@ConsumerType public interface TargetResourceTypeProvider
TheTargetResourceTypeProvider
allows implementing classes to register a resource type to be used instead of the default targeting resource type. The default resource type ispersonalization/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 theTargetResourceTypeProvider
register their service with a property name ofTargetResourceTypeProvider.PROP_RESOURCE_PROVIDER
and a value of their specific resource type.@Property(name = TargetResourceTypeProvider.PROP_RESOURCE_PROVIDER, value = MyCustomTargetResourceTypeProvider.RESOURCE_TYPE)
-
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getResourceType()
Return the resource type associated with the provider.
-
-
-
Field Detail
-
PROP_RESOURCE_PROVIDER
static final java.lang.String PROP_RESOURCE_PROVIDER
The name of the service registration property indicating the name of the operation provided by the operation implementation. The value of this service property must be a single String.- See Also:
- Constant Field Values
-
-