setState(LifecycleState.STARTING);
@Override protected void startInternal() throws LifecycleException { mainResources.clear(); main = createMainResourceSet(); mainResources.add(main); for (List<WebResourceSet> list : allResources) { // Skip class resources since they are started below if (list != classResources) { for (WebResourceSet webResourceSet : list) { webResourceSet.start(); } } } // This has to be called after the other resources have been started // else it won't find all the matching resources processWebInfLib(); // Need to start the newly found resources for (WebResourceSet classResource : classResources) { classResource.start(); } cache.enforceObjectMaxSizeLimit(); setState(LifecycleState.STARTING); }
@Override protected void startInternal() throws LifecycleException { mainResources.clear(); main = createMainResourceSet(); mainResources.add(main); for (List<WebResourceSet> list : allResources) { // Skip class resources since they are started below if (list != classResources) { for (WebResourceSet webResourceSet : list) { webResourceSet.start(); } } } // This has to be called after the other resources have been started // else it won't find all the matching resources processWebInfLib(); // Need to start the newly found resources for (WebResourceSet classResource : classResources) { classResource.start(); } cache.enforceObjectMaxSizeLimit(); setState(LifecycleState.STARTING); }
setState(LifecycleState.STOPPING);
setState(LifecycleState.STOPPING);
setState(LifecycleState.STOPPING);