Package com.caucho.resin

Examples of com.caucho.resin.ResinEmbed$WebAppProgram


  {
    if (_webApp == null) {
      if (rootDirectory == null)
        rootDirectory = getAppDir();

      _resin = new ResinEmbed();
     
      WebAppEmbed webAppEmbed = new WebAppEmbed();
      webAppEmbed.setRootDirectory(rootDirectory.getURL());
     
      _resin.addWebApp(webAppEmbed);
View Full Code Here


    }
  }
 
  public void close()
  {
    ResinEmbed resin = _resin;
   
    if (resin != null)
      resin.destroy();
  }
View Full Code Here

  }

  @Override
  protected void runChild(FrameworkMethod method, RunNotifier notifier)
  {
    ResinEmbed resinEmbeddedContainer = getResinEmbeddedContainer();

    super.runChild(method, notifier);
  }
View Full Code Here

  protected ResinEmbed getResinEmbeddedContainer()
  {
    if (_resinEmbeddedContainer == null) {
      if (_resinXmlPath == null) {
        _resinEmbeddedContainer = new ResinEmbed();
      } else {
        _resinEmbeddedContainer = new ResinEmbed(_resinXmlPath);
      }

      _resinEmbeddedContainer.addScanRoot();

      _resinEmbeddedContainer.addPort(new HttpEmbed(_httpPort));
View Full Code Here

TOP

Related Classes of com.caucho.resin.ResinEmbed$WebAppProgram

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.