public final class TransactionalAnnotationProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
This is the class that processes the Transactional annotation
within a plugin.
Simply add this snippet of code in your plugin descriptor:
<component key="tx-annotation-processor" class="com.atlassian.activeobjects.external.TransactionalAnnotationProcessor" />
Note: This class does not live in the com.atlassian.activeobjects.tx package in order to
be available to plugins without any additional imports (OSGi wise).
Transactional| Constructor and Description |
|---|
TransactionalAnnotationProcessor(ActiveObjects ao) |
| Modifier and Type | Method and Description |
|---|---|
Object |
postProcessAfterInitialization(Object o,
String s) |
Object |
postProcessBeforeInitialization(Object o,
String s) |
public TransactionalAnnotationProcessor(ActiveObjects ao)
public Object postProcessBeforeInitialization(Object o, String s) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object o, String s) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionCopyright © 2018 Atlassian. All rights reserved.