Hi all. I'm thinking about the best way to integrate the different avalon containers inside turbine. So far, we have worked with Fortress and ECM. The simplest scenario would be getting a handle to a component using a role. Example :
Container container = TurbineMagic.getContainer(); Object myComponent = container.lookup(MyComponent.ROLE); Sometimes its necessary to get a handle to the ServiceManager itself, so: Container container = TurbineMagic.getContainer(); ServiceManager manager = container.getServicemanager(); would be necessary too. I'd like to minimize the number of changes required when replacing containers implementations (ECM, Fortress, Merlin, etc). What do you think about this ? -- Leandro Rodrigo Saad Cruz InterBusiness Tecnologia e Servi�os IB - www.ibnetwork.com.br DB - www.digitalbrand.com.br OJB - db.apache.org/ojb XINGU - xingu.sf.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
