I have a basic Spring applicationContext.xml defined bean attached to a class. However, those bean properties are not bound to any class objects that are created unless I create them like so:
My question is, since this object will always need to be binded to the Spring bean, is there any way to configure Spring to do this automatically?Code:MyObject mO = (MyObject) appContext.getBean("MyObjectBean");


Reply With Quote
