cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: New cocoon.setupObject() and cocoon.disposeObject()
Date Thu, 11 Dec 2003 22:17:01 GMT
Sylvain Wallez wrote:

> Hi team,
>
> As per the discussion following the new cocoon.setupObject(obj) 
> method, I added to new methods to the FOM:
>
> - cocoon.createObject(class) creates an object and goes through the 
> various Avalon lifecycle interfaces.
>   The "class" attribute can be either a Class (written 
> Packages.my.package.MyClass in JavaScript) or a String (the class name).
> - cocoon.disposeObject(object) diposes an object if needed.
>
> I think that createObject() is better than setupObject() and therefore 
> would like to remove this second method.
>
> Thoughts?


+1 to removal of setupObject.

Vadim




Mime
View raw message