javax.cache.spi
Interface AnnotationProvider


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:
Caching

Method Summary
 boolean isSupported(OptionalFeature optionalFeature)
          Indicates whether an optional feature related to annotations is supported by this implementation.
 

Method Detail

isSupported

boolean isSupported(OptionalFeature optionalFeature)
Indicates whether an optional feature related to annotations is supported by this implementation.

Parameters:
optionalFeature - the feature to check for
Returns:
true if the feature is supported


Copyright © 2011. All Rights Reserved.