Package cz.cvut.kbss.jopa.utils
Interface Wrapper
- All Known Subinterfaces:
StorageAccessor
,UnitOfWork
- All Known Implementing Classes:
AbstractUnitOfWork
,ChangeTrackingUnitOfWork
,ConnectionWrapper
,DefaultStorageAccessor
,EntityManagerImpl
,OnCommitChangePropagatingUnitOfWork
,ReadOnlyUnitOfWork
,ServerSession
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Marks classes which allow to unwrap provider-specific implementations.
-
Method Summary
-
Method Details
-
unwrap
Unwraps implementation of the specified class.- Parameters:
cls
- The class of the object to be returned- Returns:
- An instance of the specified class
- Throws:
OWLPersistenceException
- If the provider does not support the class
-