public static synchronized UnifyContainer startup(UnifyContainerEnvironment uce, UnifyContainerConfig ucc) throws UnifyException { if (uc != null) { throw new UnifyException(UnifyCoreErrorConstants.CONTAINER_IN_RUNTIME); } try { uc = new UnifyContainer(); uc.startup(uce, ucc); } catch (UnifyException e) { uc = null; throw e; } catch (Exception e) { uc = null; throw new UnifyException(e, UnifyCoreErrorConstants.CONTAINER_STARTUP_ERROR); } return uc; }
unifyContainer.startup(uce, ucc); requestContextManager = (RequestContextManager) unifyContainer .getComponent(ApplicationComponents.APPLICATION_REQUESTCONTEXTMANAGER);