public class TxAwareSession extends Object implements InvocationHandler
Constructor and Description |
---|
TxAwareSession(javax.jcr.Session session,
String txID) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(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-2015 DuraSpace, Inc.. All Rights Reserved.