Consistently use annotation attributes in refdoc

This commit is contained in:
Brian Clozel
2016-08-26 09:38:19 +02:00
parent f93cb2f539
commit bbd5993945
7 changed files with 128 additions and 128 deletions

View File

@@ -1358,10 +1358,10 @@ example, using the qualifier notation, the following Java code
----
public class TransactionalService {
@Transactional("order")
@Transactional(transactionManager = "order")
public void setSomething(String name) { ... }
@Transactional("account")
@Transactional(transactionManager = "account")
public void doSomething() { ... }
}
----
@@ -1403,13 +1403,13 @@ defining the following annotations
----
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Transactional("order")
@Transactional(transactionManager = "order")
public @interface OrderTx {
}
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Transactional("account")
@Transactional(transactionManager = "account")
public @interface AccountTx {
}
----