Interface DataAccessProvider
- All Known Subinterfaces:
AttributeDataAccessProvider,BucketDataAccessProvider,CredentialDataAccessProvider,DelegationDataAccessProvider,DeviceDataAccessProvider,DynamicallyRegisteredClientDataAccessProvider,IdentifiableResourceDataAccessProvider<A>,NonceDataAccessProvider,SessionDataAccessProvider,TokenDataAccessProvider,UserAccountDataAccessProvider
public interface DataAccessProvider
Marker interface for a DataAccessProvider interface.
A DataAccessProvider is a service that may provide the server with data from a data store.
An implementation of this interface may raise alarms related to connection, communication and authentication by throwing one of the following exceptions (respectively):
-
Method Summary
-
Method Details
-
isThreadSafe
Deprecated.since 6.4.0, implementThreadSafeinsteadReturns whether this DataAccessProvider is thread-safe.By default this method checks if the type of this DataAccessProvider is marked with the
ThreadSafeinterface, which is the preferred means of indicating that a plug-in-provided service is thread-safe.If the decision requires access to runtime information (e.g. configuration), implementers may override this method.
- Returns:
trueif this DataAccessProvider is thread-safe,falseotherwise.- Since:
- 6.1.0
- See Also:
-
ThreadSafeinstead