Revert "Introduce Ordered#NOT_ORDERED"

This reverts commit da914bcfb4599ebf746ea477c691ed99c4842ed0 and also
removes the use of Ordered#NOT_ORDERED from EnableTransactionManagement
and ProxyTransactionManagementConfiguration in favor of defaulting to
Ordered#LOWEST_PRIORITY, which is actually the default that results
when no 'order' attribute is specified in XML.
This commit is contained in:
Chris Beams
2011-06-02 06:49:15 +00:00
parent cf2563bdf5
commit 0304a4b74d
3 changed files with 3 additions and 15 deletions

View File

@@ -47,14 +47,6 @@ public interface Ordered {
*/
int LOWEST_PRECEDENCE = Integer.MAX_VALUE;
/**
* A reserved integer value indicating that a component should
* be treated as unordered. Users should avoid this using this
* reserved value ({@value}) when ordering their own components.
* Useful when populating annotation, where null cannot be specified
* as a default for integer attributes.
*/
int NOT_ORDERED = (Integer.MIN_VALUE +1) / 2; // -1073741823
/**
* Return the order value of this object, with a