Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

tapestry injecting spring services

$
0
0
I used at many times injections of spring services bean in my tapestry
pages and that works really well.
But now I need to use them in Encoders class, when I do that :

public class ApplicatifDtoEncoder implements ValueEncoder<ApplicatifDto> {

@Inject
IServiceApplicatif serviceApplicatif;
.......

My serviceApplicatif stays null. Is it possible to make @Inject works here
? outside of tapestry pages ?

Viewing all articles
Browse latest Browse all 5648

Trending Articles