public class TransactionalCoreSessionWrapper extends Object implements InvocationHandler, Synchronization
Transactional behavior:
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
String |
toString() |
static CoreSession |
wrap(CoreSession session) |
public static CoreSession wrap(CoreSession session)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
Copyright © 2011 Nuxeo SA. All Rights Reserved.