Thanks Thiago. This has really helped me a lot.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Question-tapestry-service-tp5715573p5715628.html
Sent from the Tapestry - User mailing list archive at Nabble.com
On Mon, 20 Aug 2012 14:37:49 -0300, George Christman
wrote:
Okay Few more minor questions on this and I think I'll be good to go.
1. If I declared ImportTask as a service, could I use it as a list as
well?
Example
@Inject
private List importTask;
No. You can, however, have something l
-
> To unsubscribe, e-mail: [hidden
> email]<http://user/SendEmail.jtp?type=node&node=5715615&i=1>
> For additional commands, e-mail: [hidden
> email]<http://user/SendEmail.jtp?type=node&node=5715615&i=2>
>
>
>
>
On Mon, 20 Aug 2012 12:36:34 -0300, George Christman
wrote:
public static SomeService someServiceBuilder(Service1 service1, Service2
service2) {
return new SomeService(service1, service2);
}
This can be replaced by binder.bind().
and returns a new Class(service1, service2). I wasn't awar
> > to declare Parser.class in my AppModule a service?
>>
>> Yes.
>>
>> --
>> Thiago H. de Paula Figueiredo
>>
>> -----
>> To unsubscribe, e-mail: [hidden
>> email]<http:
For additional commands, e-mail: [hidden
> email]<http://user/SendEmail.jtp?type=node&node=5715610&i=2>
>
>
>
> ------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://t
On Mon, 20 Aug 2012 11:16:28 -0300, George Christman
wrote:
He say's what I'm calling a factory is actually a service locator and
that AutoMateParser should be defined as a service in the AppModule.
Yep . . .
He also stated the objects I use to pass in through the constructor now
need t
27;t actually be using @Inject on my
properties as describe above, but rather constructor service injection with
final. Hopefully my understanding on that is clear as well.
Thanks Guys for all the help. Looking forward to a Tap5 class at some point.
--
View this message in context:
http://tapest
stuff". Hope that helps. Sorry, I'm rather new to java too.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Question-tapestry-service-tp5715573p5715583.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On 08/18/2012 05:36 PM, George Christman wrote:
I have a few questions about the tapestry services. I'd like to be able to
Inject services in these classes, however I'm a little confused. I
understand if you want to be able to Inject a service, you must first bind
the service in the app module. H
, value2, value3);
case
//many other parsers that are setup identical to the
AutoMateParser
}
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Question-tapestry-service-tp5715573.html
Sent from the Tapestry - User
11 matches
Mail list logo