AbstractApplicationContext createApplicationContext(CentipedeShellOptions centipedeOptions, List<String> contextPath) {
contextPath.addAll(centipedeOptions.applicationContext);
contextPath.addAll(centipedeOptions.applicationContext);
if(centipedeOptions.eager && centipedeOptions.lazy)
throw new MisconfigurationException("Cannot force eager and lazy load at same time");
Boolean forcedMode =
centipedeOptions.lazy ? Boolean.TRUE :
(centipedeOptions.eager ? Boolean.FALSE : isLazyByDefault());