cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Mass update to components for Cocoon 2.2
Date Thu, 23 Oct 2003 13:55:41 GMT
Carsten Ziegeler wrote:

> 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


Mime
View raw message