Hi everyone,
I don't understand why the code below does not work. It does work when I delete "abstract".
Is there a way to have my configurationService autowired in this abstract class?
(configurationService has to be static so I cannot apply the autowired to it directly)
Code:@Component public abstract class ControllerUtils implements Constants{ /** The configuration service. */ private static IConfigurationService configurationService; @Autowired private void setConfigurationService( IConfigurationService configurationService) { ControllerUtils.configurationService = configurationService; } ... }


Reply With Quote
).
