Annotation Type AdapterDeprecated
@ComponentPropertyType
public @interface AdapterDeprecated
Component Property Type (as defined by OSGi DS 1.4) for the condition for Sling Adapters.
Takes care of writing the service property
adapter.deprecated
.
The use of this annotation will only have an effect if used in conjunction with the SlingAdapter
annotation, which defines properties that are required for an AdapterFactory
to be picked up.
Use this annotation to mark the adapter as deprecated. The only consequence of setting this property is an indication in the Web Console Plugin, where it is made apparent to a developer that the use of this adapter is deprecated and may not work anymore in the future.