Interesting. However the call inserted into the constructors violates safe 
construction (escape from constructor) 
[http://www-128.ibm.com/developerworks/java/library/j-jtp0618.html#2]. 
Essentialy, the modified constructors are publishing a reference to their 
partially constructed self. Seems a very bad pattern inject into someone 
elses code.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]
Office: +1 407 849 9117 Mobile: +1 386 848 3788



"Trustin Lee" <[EMAIL PROTECTED]> 
06/21/2006 11:24 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
An article on dependency injection in OSGi






The article focuses on Eclipse RCP, but I think what is does is 
essentially
what iPOJO does.

http://www.onjava.com/pub/a/onjava/2006/06/07/ioc-for-eclipse-rcp.html

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6


Reply via email to