bootstrapSupplier.get().getBootstrap().endInitialization(); } finally { for (SetupAction action : setupActions) {
@Override public Object call() throws Exception { bootstrap.endInitialization(); manager.fireEvent(environment, InitializedLiteral.APPLICATION); return null; } });
bootstrap.deployBeans(); bootstrap.validateBeans(); bootstrap.endInitialization(); WeldContainer.endInitialization(weldContainer, isEnabled(SHUTDOWN_HOOK_SYSTEM_PROPERTY, true)); initializedContainers.put(containerId, weldContainer);
bootstrap.deployBeans(); bootstrap.validateBeans(); bootstrap.endInitialization(); WeldContainer.endInitialization(weldContainer, isEnabled(SHUTDOWN_HOOK_SYSTEM_PROPERTY, true)); initializedContainers.put(containerId, weldContainer);
bootstrap.deployBeans(); bootstrap.validateBeans(); bootstrap.endInitialization(); WeldContainer.endInitialization(weldContainer, isEnabled(SHUTDOWN_HOOK_SYSTEM_PROPERTY, true)); initializedContainers.put(containerId, weldContainer);
bootstrap.endInitialization(); } catch (Throwable t) { try {
@Override public void start(final StartContext context) throws StartException { ClassLoader oldTccl = SecurityActions.getContextClassLoader(); try { for (SetupAction action : setupActions) { action.setup(null); } SecurityActions.setContextClassLoader(classLoader); bootstrap.getValue().getBootstrap().startInitialization(); bootstrap.getValue().getBootstrap().deployBeans(); bootstrap.getValue().getBootstrap().validateBeans(); bootstrap.getValue().getBootstrap().endInitialization(); } finally { for (SetupAction action : setupActions) { try { action.teardown(null); } catch (Exception e) { WeldLogger.DEPLOYMENT_LOGGER.exceptionClearingThreadState(e); } } SecurityActions.setContextClassLoader(oldTccl); } }