Thanks for your help.

It runs now as expected!




DNewfield wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Update-User-from-another-Manager-tf4045113s2369.html#a11493208
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to