@Override protected void initInternal() throws LifecycleException { super.initInternal(); setDistributable(((Context) getContainer()).getDistributable()); }
@Override protected void destroyInternal() throws LifecycleException { if (onameClusterDeployer != null) { unregister(onameClusterDeployer); onameClusterDeployer = null; } super.destroyInternal(); }
@Override protected void destroyInternal() throws LifecycleException { for (ArrayList<WebResourceSet> list : allResources) { for (WebResourceSet webResourceSet : list) { webResourceSet.destroy(); } } super.destroyInternal(); }
@Override protected void initInternal() throws LifecycleException { super.initInternal(); // We want logger as soon as possible if (container != null) { this.containerLog = container.getLogger(); } x509UsernameRetriever = createUsernameRetriever(x509UsernameRetrieverClassName); }
@Override protected void initInternal() throws LifecycleException { super.initInternal(); if (clusterDeployer != null) { StringBuilder name = new StringBuilder("type=Cluster"); Container container = getContainer(); if (container != null) { name.append(container.getMBeanKeyProperties()); } name.append(",component=Deployer"); onameClusterDeployer = register(clusterDeployer, name.toString()); } }
@Override protected void initInternal() throws LifecycleException { super.initInternal(); if (context == null) { throw new IllegalStateException(sm.getString("standardRoot.noContext")); } for (ArrayList<WebResourceSet> list : allResources) { for (WebResourceSet webResourceSet : list) { webResourceSet.init(); } } }
@Override protected void initInternal() throws LifecycleException { super.initInternal(); containerLog = getContainer().getLogger(); }