Package com.caucho.lifecycle

Examples of com.caucho.lifecycle.Lifecycle


      try {
        thread.setContextClassLoader(getClassLoader());

        _serverIdLocal.set(_selfServer.getId());
       
        _lifecycle = new Lifecycle(log, toString(), Level.INFO);
       
        preInit();
      } finally {
        thread.setContextClassLoader(oldLoader);
      }
View Full Code Here


      _webappsPath = entAppRoot.lookup("webapps");
      WorkDir.setLocalWorkDir(entAppRoot.lookup("META-INF/work"),
                              _loader);
    }

    _lifecycle = new Lifecycle(log, toString(), Level.INFO);

    if (_controller != null && _controller.getArchivePath() != null)
      Environment.addDependency(new Depend(_controller.getArchivePath()), _loader);

    _localEApp.set(this, _loader);
View Full Code Here

  {
    _persistenceManager = manager;
   
    _name = name;
   
    _lifecycle = new Lifecycle(log, "PersistenceUnit[" + name + "]");
   
    _entityManagerFactoryProxy = new EntityManagerFactoryProxy(this);

    _transactionType = transactionType;
View Full Code Here

  {
    super(loader);
   
    setWorkerIdleTimeout(LAUNCHER_TIMEOUT);
   
    _lifecycle = new Lifecycle();
  }
View Full Code Here

     
      thread.setContextClassLoader(getClassLoader());

      _resinLocal.set(this, getClassLoader());

      _lifecycle = new Lifecycle(log(), "Resin[]");

      // default server id
      if (_args != null) {
        setServerId(_args.getServerId());
View Full Code Here

      _moduleName = _moduleName.substring(1);

    setParent(controller.getContainer());
   
    if (getId().startsWith("error/"))
      _lifecycle = new Lifecycle(log, toString(), Level.FINER);
    else
      _lifecycle = new Lifecycle(log, toString(), Level.INFO);
   

    initConstructor();
  }
View Full Code Here

    if (parentLoader == null)
      parentLoader = Thread.currentThread().getContextClassLoader();
   
    _parentLoader = parentLoader;

    _lifecycle = new Lifecycle(getLog(), toString(), Level.FINEST);
   
    int p1 = id.indexOf('/');
    _idStage = id.substring(0, p1);
   
    int p2 = id.indexOf('/', p1 + 1);
View Full Code Here

    _controller = controller;
   
    _rootDirectory = controller.getRootDirectory();
   
    if (controller.getId().startsWith("error/"))
      _lifecycle = new Lifecycle(log, "Host[" + controller.getId() + "]", Level.FINEST);
    else
      _lifecycle = new Lifecycle(log, "Host[" + controller.getId() + "]", Level.INFO);
   
    InjectManager.create(_classLoader);
   
    _webAppContainer = new WebAppContainer(_servletContainer,
                                           this,
View Full Code Here

  {
    _persistenceManager = manager;
   
    _name = name;
   
    _lifecycle = new Lifecycle(log, "PersistenceUnit[" + name + "]");
   
    _entityManagerFactoryProxy = new EntityManagerFactoryProxy(this);
    _entityManagerJtaProxy = new EntityManagerJtaProxy(this);
  }
View Full Code Here

    if (parentLoader == null)
      parentLoader = Thread.currentThread().getContextClassLoader();
   
    _parentLoader = parentLoader;

    _lifecycle = new Lifecycle(getLog(), toString(), Level.FINEST);
  }
View Full Code Here

TOP

Related Classes of com.caucho.lifecycle.Lifecycle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.