public class TxAwareSession extends com.google.common.reflect.AbstractInvocationHandler
Constructor and Description |
---|
TxAwareSession(javax.jcr.Session session,
String txID) |
Modifier and Type | Method and Description |
---|---|
protected Object |
handleInvocation(Object proxy,
Method method,
Object[] args) |
static javax.jcr.Session |
newInstance(javax.jcr.Session session,
String txId)
Wrap a JCR session with this dynamic proxy
|
public TxAwareSession(javax.jcr.Session session, String txID)
session
- a JCR sessiontxID
- the transaction identifierpublic static javax.jcr.Session newInstance(javax.jcr.Session session, String txId)
session
- a JCR sessiontxId
- the transaction identifierCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.