I have some interface IMyInterface and a set of implementations of this interface. Every implementation has its own specific properties. At run time a user chooses the proper implementation and specifies property values for this implementation. So I need to get the right bean, set the property values and then I can use the bean via its interface.
To get the proper implementation I use:
Problem is how to set (get) property values to the selected implementation bean (interface does not provide correspond getters and setters, because properties are specific for an implementation). Does Spring provide opportunity to set (get) the property values for my bean at run time?Code:beanFactory.getBean(“implementation_key”);
Pavel.


Reply With Quote