I have the following class defined as a bean:
@Repository("userDao")
public class UserDao extends JdoDaoSupport implements IUserDao {...}
The class JdoDaoSupport requires a persistenceManagerFactory
injected into it.
I've declared the persistenceManagerFactory bean in XML, how do I inject it to my superclass using annotations?
JdoDaoSupport class (snipped):
public abstract class JdoDaoSupport extends DaoSupport {
public final void setPersistenceManagerFactory
(PersistenceManagerFactory persistenceManagerFactory) {
this.jdoTemplate = createJdoTemplate(persistenceManagerFactory);
}