My case is same as we discused before.
I have a LocalAccountManager client jar which have methods createAccount(),deactivateAccount(), reactivateAccount() , searchAccount, viewAccount().
In every methods original methods are called as below.
Here AccountManagement is an interface whose impl class is AccountManagementImpl which is in another jar file.
private AccountManagement accountManagement;
public final void setAccountManagement (final AccountManagement mngmt)
public final CreateAccountRSType createAccount(CreateAccountRQType req)
Now this AccountManagementImpl class have 'BusinessRuleCheck' and 'AccountBasicServices' properties which itself have many properties as I told you in chain mails.
So now how do i configure my beans in config xml file? How many bean references do I need to refer in this .xml?
One more thing I need to know is that , what is the scope of the referenced bean in in a config file?
Suppose I have below code:
What is the scope of this ref bean 'acc.dao' ? Will application context look for this bean in whole classpath or in those xml file referenced in application context?
<property name="dao"><ref bean="acc.dao" />
Because I was thinking to put the ref bean name same as they have put in their jar code. If I do that and as because their jars are in classpath will that bean can find those xml entry in jars to be referred properly?