Hi,

I'm trying to inject String using @Value into @Configurable class. Class itself is a JSF Converter, and therefore is not Spring managed. That's why I'm using @Configurable. Trick is, can I do that injection without defining prototype bean in my XML? Without prototype I get:

Code:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'pl.wroc.jug.jb.web.converter.DateConverter' is defined
With prototype everything works as expected. My problem is: why I have to define this prototype when injecting using @Value, while when injecting using @Inject or @Autowire can do without prototype? Is it a feature or a bug? My prototype doesn't do anything interesting:

Code:
<bean class="pl.wroc.jug.jb.web.converter.DateConverter" scope="prototype"/>
Best regards

Jacek Bilski