polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2006 the original author or authors.
|
* Copyright 2002-2009 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -69,10 +69,18 @@ public class DefaultTransactionAttribute extends DefaultTransactionDefinition im
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Associate a qualifier value with this transaction attribute.
|
||||||
|
* <p>This may be used for choosing a corresponding transaction manager
|
||||||
|
* to process this specific transaction.
|
||||||
|
*/
|
||||||
public void setQualifier(String qualifier) {
|
public void setQualifier(String qualifier) {
|
||||||
this.qualifier = qualifier;
|
this.qualifier = qualifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a qualifier value associated with this transaction attribute.
|
||||||
|
*/
|
||||||
public String getQualifier() {
|
public String getQualifier() {
|
||||||
return this.qualifier;
|
return this.qualifier;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,12 +24,18 @@ import org.springframework.transaction.TransactionDefinition;
|
|||||||
* in the AOP transaction package.
|
* in the AOP transaction package.
|
||||||
*
|
*
|
||||||
* @author Rod Johnson
|
* @author Rod Johnson
|
||||||
|
* @author Juergen Hoeller
|
||||||
* @since 16.03.2003
|
* @since 16.03.2003
|
||||||
* @see DefaultTransactionAttribute
|
* @see DefaultTransactionAttribute
|
||||||
* @see RuleBasedTransactionAttribute
|
* @see RuleBasedTransactionAttribute
|
||||||
*/
|
*/
|
||||||
public interface TransactionAttribute extends TransactionDefinition {
|
public interface TransactionAttribute extends TransactionDefinition {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a qualifier value associated with this transaction attribute.
|
||||||
|
* <p>This may be used for choosing a corresponding transaction manager
|
||||||
|
* to process this specific transaction.
|
||||||
|
*/
|
||||||
String getQualifier();
|
String getQualifier();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user