diff --git a/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Isolation.java b/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Isolation.java index b6f3ca416d7..03e569991f7 100644 --- a/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Isolation.java +++ b/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Isolation.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2005 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,13 @@ package org.springframework.transaction.annotation; import org.springframework.transaction.TransactionDefinition; /** - * Enumeration that represents transaction isolation levels - * for use with the JDK 1.5+ transaction annotation, corresponding - * to the TransactionDefinition interface. + * Enumeration that represents transaction isolation levels for use + * with the {@link Transactional} annotation, corresponding to the + * {@link TransactionDefinition} interface. * * @author Colin Sampaleanu * @author Juergen Hoeller * @since 1.2 - * @see org.springframework.transaction.annotation.Transactional - * @see org.springframework.transaction.TransactionDefinition */ public enum Isolation { @@ -85,6 +83,6 @@ public enum Isolation { Isolation(int value) { this.value = value; } - public int value() { return value; } + public int value() { return this.value; } } diff --git a/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Propagation.java b/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Propagation.java index aa904379c72..5e0a7964504 100644 --- a/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Propagation.java +++ b/org.springframework.transaction/src/main/java/org/springframework/transaction/annotation/Propagation.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2005 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,13 @@ package org.springframework.transaction.annotation; import org.springframework.transaction.TransactionDefinition; /** - * Enumeration that represents transaction propagation behaviors - * for use with the JDK 1.5+ transaction annotation, corresponding - * to the TransactionDefinition interface. + * Enumeration that represents transaction propagation behaviors for use + * with the {@link Transactional} annotation, corresponding to the + * {@link TransactionDefinition} interface. * * @author Colin Sampaleanu * @author Juergen Hoeller * @since 1.2 - * @see org.springframework.transaction.annotation.Transactional - * @see org.springframework.transaction.TransactionDefinition */ public enum Propagation { @@ -43,7 +41,7 @@ public enum Propagation { * Analogous to EJB transaction attribute of the same name. *

Note: For transaction managers with transaction synchronization, * PROPAGATION_SUPPORTS is slightly different from no transaction at all, - * as it defines a transaction scopp that synchronization will apply for. + * as it defines a transaction scope that synchronization will apply for. * As a consequence, the same resources (JDBC Connection, Hibernate Session, etc) * will be shared for the entire specified scope. Note that this depends on * the actual synchronization configuration of the transaction manager. @@ -102,6 +100,6 @@ public enum Propagation { Propagation(int value) { this.value = value; } - public int value() { return value; } + public int value() { return this.value; } } diff --git a/org.springframework.transaction/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java b/org.springframework.transaction/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java index 619509c300c..77287fb05c8 100644 --- a/org.springframework.transaction/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java +++ b/org.springframework.transaction/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,8 +38,7 @@ import org.springframework.transaction.UnexpectedRollbackException; /** * Abstract base class that implements Spring's standard transaction workflow, * serving as basis for concrete platform transaction managers like - * {@link org.springframework.transaction.jta.JtaTransactionManager} and - * {@link org.springframework.jdbc.datasource.DataSourceTransactionManager}. + * {@link org.springframework.transaction.jta.JtaTransactionManager}. * *

This base class provides the following workflow handling: *