Package org.apache.sling.models.spi
Interface ViaProvider
-
public interface ViaProvider
SPI interface for providers of the @Via annotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getAdaptable(Object original, String value)
Get an adaptable using the value of the @Via annotation.Class<? extends ViaProviderType>
getType()
Return the marker class for use in the @Via annotation
-
-
-
Field Detail
-
ORIGINAL
static final Object ORIGINAL
Marker object indicating that the original object should be used.
-
-
Method Detail
-
getType
Class<? extends ViaProviderType> getType()
Return the marker class for use in the @Via annotation- Returns:
- the marker class
-
-