cdtm wrote:
SimplePresenceManager the manager which updates the users.
In SimplePresenceManager I changed the constructor to

        public SimplePresenceManagerImpl(UserDao dao) throws EventingException {
                super();
                this.userDao= dao;
        }

Is this the correct way of injecting the userDao?

No.
You should add a setter method to SimplePresenceManagerImpl:

  public void setUserDao(UserDao dao) {
    userDao = dao;
  }

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to