Sylvain Wallez wrote:
+1We'll end up with 3 new methods on "cocoon": - setupObject(object), - createObject(classname) (or summon, new, instanciate) - disposeObject(object).
What do you think?
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