Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 20th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @Bean
  2. public AnnotationMBeanExporter annotationMBeanExporter() {
  3.     return new AnnotationMBeanExporter();
  4. }
  5.  
  6. @Bean
  7. public TransactionAttributeSource annotationTransactionAttributeSource() {
  8.     return new AnnotationTransactionAttributeSource();
  9. }
  10.  
  11. @Bean
  12. public TransactionInterceptor transactionInterceptor() {
  13.     return new TransactionInterceptor(transactionManager(), annotationTransactionAttributeSource());
  14. }