cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Setter Injection!!!

former_member630291
Participant
0 Kudos
262

Hi, I observed that in many extension if I use @Resource annotation, it doesn't require setter method specifically. But when I create a new file say controller or facade or service, and if I use a resource say productService or flexibleSearchService, it requires a setter method without which the server startup fails with an exception that the the property doesn't have a valid setter method.

Why is that so? I'm more interested in knowing without using the setter method.

Accepted Solutions (0)

Answers (1)

Answers (1)

dario_petrovic
Discoverer
0 Kudos