Every object throught Spring. Spring as univerzal factory.
Can I use spring as universal factory for every class?
I know how to use spring as factory for predefined bean (by annotation or in XML descriptor). But I don't know haw use spring when I want create instance of another class?
In spring I define AOP advice etc. But this advice is apply through proxy only on bean create by spring factory.
I want use spring factory instead of "new Something()"
------------------------------------------------------------
I use XEmacs + JDEE, Spring, Hibernate and special benzin's fork of English.