Package org.eclipse.rdf4j.spring.util
Class RepositoryConnectionWrappingUtils
java.lang.Object
org.eclipse.rdf4j.spring.util.RepositoryConnectionWrappingUtils
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryConnection
static <T> Optional
<T> findWrapper
(RepositoryConnection con, Class<T> wrapperClass) static <T> boolean
isWrapped
(RepositoryConnection con, Class<T> wrapperClass) static <T> RepositoryConnection
wrapOnce
(RepositoryConnection con, Function<RepositoryConnection, RepositoryConnection> wrapper, Class<T> wrapperClass)
-
Constructor Details
-
RepositoryConnectionWrappingUtils
public RepositoryConnectionWrappingUtils()
-
-
Method Details
-
wrapOnce
public static <T> RepositoryConnection wrapOnce(RepositoryConnection con, Function<RepositoryConnection, RepositoryConnection> wrapper, Class<T> wrapperClass) -
isWrapped
-
findWrapper
-
findRoot
-