public class SessionHolder extends ResourceHolderSupport
Note: This is an SPI class, not intended to be used by applications.
Neo4jTransactionManager
,
SessionFactoryUtils
Constructor and Description |
---|
SessionHolder(org.neo4j.ogm.session.Session session) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.neo4j.ogm.session.Session |
getSession() |
protected boolean |
isTransactionActive() |
protected void |
setTransactionActive(boolean transactionActive) |
getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
public org.neo4j.ogm.session.Session getSession()
protected void setTransactionActive(boolean transactionActive)
protected boolean isTransactionActive()
public void clear()
clear
in class ResourceHolderSupport
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.