Package javax.cache.spi
Interface AnnotationProvider
- All Known Implementing Classes:
AnnotationProviderImpl
public interface AnnotationProvider
Interface that should be implemented by a cache annotations provider.
It is invoked by the
Caching class to determine
which annotations related features are supported.
An implementation of this interface must have a public no-arg constructor.
- Since:
- 1.0
- Author:
- Eric Dalquist
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether annotations are supported by this implementation.
-
Method Details
-
isSupported
boolean isSupported()Indicates whether annotations are supported by this implementation.- Returns:
- true if the feature is supported
-