I need to implement javax.faces.convert.Converter
to convert String-to-Object and Object-to-String.
To do so, I have defined specific services (@Service
), but I do not know how to get an instance.
I have tried to use @Autowired
and @Component
to get instance, but Spring is ignoring.
Is it possible to get @Service
instance from FacesContext
?