Class STServiceContextUtils
java.lang.Object
it.uniroma2.art.semanticturkey.services.support.STServiceContextUtils
Utility class for decoding an
STServiceContext
.- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.rdf4j.repository.Repository
getRepostory
(STServiceContext stServiceContext) Returns the repository that should be used for servicing a data operation.static String
getRepostoryId
(STServiceContext stServiceContext) Returns the id of the repository that should be used for servicing a data operation.
-
Constructor Details
-
STServiceContextUtils
public STServiceContextUtils()
-
-
Method Details
-
getRepostory
public static org.eclipse.rdf4j.repository.Repository getRepostory(STServiceContext stServiceContext) Returns the repository that should be used for servicing a data operation. This method takes into consideration the possibility to use a version dump.- Parameters:
stServiceContext
-- Returns:
-
getRepostoryId
Returns the id of the repository that should be used for servicing a data operation. This method takes into consideration the possibility to use a version dump.- Parameters:
stServiceContext
-- Returns:
-