title: Spring transactions - Mixing @Transactional with <tx:advice> into a custom annotation
body: <p>My goal is to have some way of declaring my service classes as transactional. I dont want to leave it as an explicit declaration in spring configuration. Many times in past we have created new services and forgot to declare transactions around them. Hence my intention is that if i have something like @TransactionalService custom annotation, it should do the following :-
  1. provides transactional support
  2. declares some default rules for transactional support as spring currently provides as shown below. But unlike spring, i would like the below to be part of my @TransactionService annotation.</p>
  
  <pre><code>&lt;tx:advice id="txAdvice" transaction-manager="txManager"&gt;
  &lt;tx:attributes&gt;
  &lt;!-- all methods starting with 'get' are read-only --&gt;
  &lt;tx:method name="get*" read-only="true"/&gt;
  &lt;tx:method name="*"/&gt;
  </code></pre>
  
  <p>
    </p>
  
  <p>Any advice would be valuable?</p>