-
Dec 17th, 2011, 06:01 AM
#1
Annotation in Greenhouse
I am curious as the different configurations between the two RowMapper implementations in Greenhouse. AccountMapper is annotated with @Component and its constructor annotated with @Inject for the FileStorage instance. Then there is the PictureUrlMapper, which also extends RowMapper, but it has no annotation. Is the reason due to the PictureUrlMapper constructor having parameters that are taking newed-up objects? Does this eliminate the need for both @Component and @Inject?
Thx
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules