maybe it's not clear.

look at this 
    public GenericManagerImpl() {}

    public GenericManagerImpl(GenericDao<T, PK> genericDao) {
        this.dao = genericDao;
    }

get a Bean from applicationContext.xml,use GenericManagerImpl() ,do not use
GenericManagerImpl(GenericDao<T, PK> genericDao),

so dao is not initialize,

how

yan da zhi wrote:
> 
> .....................
> 

-- 
View this message in context: 
http://www.nabble.com/Spring-Annotation-%27s-question-tp24563205s2369p24566178.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to