riate to inject RdbmsLogin?
Many thank you for your help.
--- On Mon, 3/8/09, Thiago H. de Paula Figueiredo wrote:
> From: Thiago H. de Paula Figueiredo
> Subject: Re: Tapestry 5 IoC binding interface with impl problem
> To: "Tapestry users"
> Date: Monday, 3 August,
Em Mon, 03 Aug 2009 19:57:12 -0300, neo anderson
escreveu:
Sorry I do not understand very well. What class I need to bind with
RdbmsLogin?
Shouldn't you inject LoginModule instead of RdbmsLogin?
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://
contains the binding clauses
>>
>> public class AppModule {
>> public static void bind(ServiceBinder binder) {
>> binder.bind(IAuthService.class, AuthService.class);
>> binder.bind(IAccount.class, Account.class);
>> }
>
, Account.class);
> }
> ...
> }
>
> I think I may do something wrong, but I completely am not aware of it. Is
> there anything I miss or misconfigure?
>
> Thanks in advice.
>
> --- On Mon, 3/8/09, Juan E. Maya wrote:
>
>> From: Juan E. Maya
>>
.class);
}
...
}
I think I may do something wrong, but I completely am not aware of it. Is there
anything I miss or misconfigure?
Thanks in advice.
--- On Mon, 3/8/09, Juan E. Maya wrote:
> From: Juan E. Maya
> Subject: Re: Tapestry 5 IoC binding interface with impl problem
> To
Em Mon, 03 Aug 2009 16:35:33 -0300, neo anderson
escreveu:
Thanks for reply.
:)
I am a bit confused now. Would you please give a bit more explain on how
to add make AccountDAO a service?
Using binder.bind() in some modules's bind(ServiceBinder) method or
creating a buildXXX() method
--
>> Thiago H. de Paula Figueiredo
>> Independent Java consultant, developer, and instructor
>> http://www.arsmachina.com.br/thiago
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apa
-
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Tapestry-5-IoC-bin
Em Mon, 03 Aug 2009 13:03:51 -0300, Neo Anderson
escreveu:
The problem is that it looks like accountDAO is always null. It seems to
me that the IAccount does not successfully bind with AccountDAO class;
It wasn't, unless you add make AccountDAO a service. Just instantiating it
and using
In the AppModule I add the following information to bind IAccount with
AccountDAO class.
ApplicationStateCreator account =
new ApplicationStateCreator(){
public IAccount create() {
re
10 matches
Mail list logo