public final class TransactionalProxy extends Object implements InvocationHandler
| Constructor and Description |
|---|
TransactionalProxy(ActiveObjects ao,
Object obj) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static boolean |
isAnnotated(Class c)
Tells whether the given class is annotated as being transactional.
|
static Object |
transactional(ActiveObjects ao,
Object o)
Makes the given instance object transactional.
|
public TransactionalProxy(ActiveObjects ao, Object obj)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic static Object transactional(ActiveObjects ao, Object o)
ao - the ActiveObjects service to use for transaction management.o - the object to make transactional.public static boolean isAnnotated(Class c)
ANNOTATION_CLASS.c - the class to scan for annotationstrue if the class is annotated with the defined annotationCopyright © 2018 Atlassian. All rights reserved.