コード例 #1
0
  @Override
  protected void initInternal() throws LifecycleException {

    super.initInternal();

    setDistributable(((Context) getContainer()).getDistributable());
  }
コード例 #2
0
 @Override
 protected void destroyInternal() throws LifecycleException {
   if (onameClusterDeployer != null) {
     unregister(onameClusterDeployer);
     onameClusterDeployer = null;
   }
   super.destroyInternal();
 }
コード例 #3
0
  @Override
  protected void destroyInternal() throws LifecycleException {
    for (ArrayList<WebResourceSet> list : allResources) {
      for (WebResourceSet webResourceSet : list) {
        webResourceSet.destroy();
      }
    }

    super.destroyInternal();
  }
コード例 #4
0
  @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);
  }
コード例 #5
0
 @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());
   }
 }
コード例 #6
0
  @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();
      }
    }
  }
コード例 #7
0
ファイル: ValveBase.java プロジェクト: anoopgecbh/Tomcat-4
  @Override
  protected void initInternal() throws LifecycleException {
    super.initInternal();

    containerLog = getContainer().getLogger();
  }