Berin Loritsch wrote:
Carsten Ziegeler wrote:
I saw the changes from Recyclable to Resettable in 2.2.
What does this mean for existing components? Is Recyclable still supported?
If that class is loaded, yes. If the Recyclable class is not available, then the Classloader will not allow the existing component to load.
IOW, as long as the org.apache.avalon.excalibur.pool.Recyclable interface exists somewhere in the classpath, all is well. It is still supported.
So, if we ship 2.2 with that class, "old" components still work as expected.
Yep. THe MPool system uses reflection to check for that old contract.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin