BeanDefinitionParser implementation that allows users to easily configure
all the infrastructure beans required to enable annotation-driven transaction
demarcation.
By default, all proxies are created as JDK proxies. This may cause some
problems if you are injecting objects as concrete classes rather than
interfaces. To overcome this restriction you can set the
'proxy-target-class' attribute to 'true', which
will result in class-based proxies being created.
| Modifier and Type | Class and Description |
|---|---|
| private static class | AnnotationDrivenBeanDefinitionParser.AopAutoProxyConfigurer
Inner class to just introduce an AOP framework dependency when actually in proxy mode. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BeanDefinition | parse(Element
the element that is to be parsed into one or more element, ParserContext BeanDefinitionsthe object encapsulating the current state of the parsing process;
provides access to a parserContext)org.Implements org. <tx:annotation-driven/> tag.
|
| private void | |
| private void | |
| private void | |
| private static void |
| AnnotationDrivenBeanDefinitionParser | back to summary |
|---|---|
| pack-priv AnnotationDrivenBeanDefinitionParser() | |
| parse | back to summary |
|---|---|
| public BeanDefinition parse(Element element, ParserContext parserContext) Implements org. Parses the
| |
| registerJtaTransactionAspect | back to summary |
|---|---|
| private void registerJtaTransactionAspect(Element element, ParserContext parserContext) | |
| registerTransactionalEventListenerFactory | back to summary |
|---|---|
| private void registerTransactionalEventListenerFactory(ParserContext parserContext) | |
| registerTransactionAspect | back to summary |
|---|---|
| private void registerTransactionAspect(Element element, ParserContext parserContext) | |
| registerTransactionManager | back to summary |
|---|---|
| private static void registerTransactionManager(Element element, BeanDefinition def) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void |
| AopAutoProxyConfigurer | back to summary |
|---|---|
| private AopAutoProxyConfigurer() | |
| configureAutoProxyCreator | back to summary |
|---|---|
| public static void configureAutoProxyCreator(Element element, ParserContext parserContext) | |