cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Introducing IOC for Java classes created in flowscript
Date Sun, 30 Nov 2003 17:37:04 GMT
Carsten Ziegeler wrote:

>Sylvain Wallez wrote:
>  
>
>>We'll end up with 3 new methods on "cocoon":
>>- setupObject(object),
>>- createObject(classname) (or summon, new, instanciate)
>>- disposeObject(object).
>>
>>What do you think?
>>
>>    
>>
>+1
>
>I'm way behind my mails, is this already implemented?
>  
>

setupObject is already there.

>BTW, wasn't there a discussion about renaming getComponent() to lookup()?
>  
>

Not that I know, but I like it as it's more consistent with "plain old 
Java" code. Now I think we should keep the "-Component" suffix since the 
cocoon object is more than a ServiceManager.

So what about "lookupComponent()" ?

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message