INT-2727 Fix JavaDoc Warnings

Previous push introduced a few JavaDoc issues.
This commit is contained in:
Gary Russell
2012-09-05 17:31:24 -04:00
parent f3533bd673
commit c6f27d5b22
2 changed files with 8 additions and 6 deletions

View File

@@ -64,10 +64,10 @@ public class MessageSourceResourceHolder implements ResourceHolder {
}
/**
* Will return an immutable Mpa of current attributes.
* If you need to add attribute use {{@link #addAttribute(String, Object)} method.
* Will return an immutable Map of current attributes.
* If you need to add an attribute, use the {@link #addAttribute(String, Object)} method.
*
* @return
* @return the immutable map.
*/
public Map<String, Object> getAttributes() {
return Collections.unmodifiableMap(attributes);

View File

@@ -12,6 +12,7 @@
*/
package org.springframework.integration.transaction;
import org.springframework.integration.core.MessageSource;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionDefinition;
import org.springframework.transaction.TransactionException;
@@ -19,9 +20,10 @@ import org.springframework.transaction.support.AbstractPlatformTransactionManage
import org.springframework.transaction.support.DefaultTransactionStatus;
/**
* An implementation of {@link PlatformTransactionManager} that provides transaction-like semantics to
* {@link MessageSource}s sources that are not inherently transactional. It does <b>not<b> make such
* sources transactional; rather, together with the <transaction-synchronization> element, it provides
* the ability to synchronize operations after a flow completes, via onSucess and onFailure expressions.
* {@link MessageSource}s that are not inherently transactional. It does <b>not</b> make such
* sources transactional; rather, together with a {@link TransactionSynchronizationFactory}, it provides
* the ability to synchronize operations after a flow completes, via beforeCommit, afterCommit and
* afterRollback operations.
*
* @author Gary Russell
* @author Oleg Zhurakousky