I am creating a Logger object manually and Spring doesn't initialize UserService as expected. How can I force Spring to initialize UserService?

I tried below code but it doesn't initialize;

```
WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext();
userService = context.getBean(UserService.class);

```

Here is JobService;

```
@Service
public class JobService{
    private static final Logger logger = LoggerFactory.getLogger(JobService.class);

    doJob(){
        logger.info("Job is starting...");
        .....
    }
}

```

My LoggerFactory;

```
public class LoggerFactory {

  public static Logger getLogger(Class clazz) {
    Logger logger = new Logger(clazz);
    return logger;
  }

  private LoggerFactory() {
    throw new UnsupportedOperationException("Not instantiable");
  }

}

```

And my Logger;

```
public class Logger {
    @Autowired
    UserService userService;

    public void info(String message){
        User user = userService.getCurrentUser(); //userService is null
    }
}

```