Forgive me if I do not get the right terminology.
My situation is this:
I have a class, let me call it TheClass. Inside this class is the TheData object.
I have XML to configure TheData bean, for example:
<bean id="theData" class="com.abc.TheData"> <property name="field" value="value1" /> </bean>
and setter inside TheClass, for example:
public void setTheData(TheData theData) { this.theData = theData; }
My problem is that if I do not create TheClass bean in XML (and therefore cannot allow autoload), it will not know how to auto-polish theData field (right?). And due to certain restrictions, I can not configure TheClass in XML (and, therefore, later automatically install it). So my question is: how can I do this? I am a little newbie, so if I miss something, feel free to point it out.
source share