public class GOMWebUtil extends Object
| Constructor and Description |
|---|
GOMWebUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static BigdataRDFContext |
getBigdataRDFContext(javax.servlet.ServletContext servletContext) |
static ObjectManager |
getObjectManager(javax.servlet.http.HttpServletRequest request)
|
protected static <T> T |
getRequiredServletContextAttribute(javax.servlet.ServletContext servletContext,
String name) |
static ObjectManager |
newObjectManager(javax.servlet.http.HttpServletRequest request,
long timestamp)
Return an
ObjectManager instance that is scoped to the
request. |
public static ObjectManager getObjectManager(javax.servlet.http.HttpServletRequest request) throws Exception
ITx.UNISOLATED ObjectManager instance that is
scoped to the request. The same ObjectManager
instance will be returned each time this method is invoked for the same
request. A distinct ObjectManager instance is
returned for each distinct request.request - The request.ObjectManager.Exceptionpublic static ObjectManager newObjectManager(javax.servlet.http.HttpServletRequest request, long timestamp) throws org.openrdf.repository.RepositoryException
ObjectManager instance that is scoped to the
request. The same ObjectManager instance will be
returned each time this method is invoked for the same
request. A distinct ObjectManager instance is
returned for each distinct request.request - The request.timestamp - The timestamp of the view.ObjectManager.Exceptionorg.openrdf.repository.RepositoryExceptionprotected static final BigdataRDFContext getBigdataRDFContext(javax.servlet.ServletContext servletContext)
protected static <T> T getRequiredServletContextAttribute(javax.servlet.ServletContext servletContext,
String name)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.