AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(new Class[]{
BasicConfiguration.class
});
ConfigurationService configurationService = applicationContext.getBean(ConfigurationService.class);
XOAICacheService cacheService = applicationContext.getBean(XOAICacheService.class);
XOAIItemCacheService itemCacheService = applicationContext.getBean(XOAIItemCacheService.class);
try {
CommandLineParser parser = new PosixParser();
Options options = new Options();