Package org.springframework.osgi.web.deployer.internal.support

Examples of org.springframework.osgi.web.deployer.internal.support.DefaultWarDeploymentContext


  protected void setUp() throws Exception {
    deployment = new WarDeployment() {

      public WarDeploymentContext getDeploymentContext() {
        return new DefaultWarDeploymentContext(new MockBundle(), "/context", new MockServletContext());
      }

      public boolean isActive() {
        return false;
      }
View Full Code Here


  TomcatWarDeployment(TomcatContextUndeployer undeployer, Bundle bundle, Context catalinaContext) {
    this.undeployer = undeployer;
    this.catalinaContext = catalinaContext;

    // create context
    this.deploymentContext = new DefaultWarDeploymentContext(bundle, catalinaContext.getPath(),
      catalinaContext.getServletContext());
  }
View Full Code Here

    assertNotNull("bundle context not saved", attribute);
    assertSame(bundleCtx, attribute);
  }

  private void createWarDeployer() {
    context = new DefaultWarDeploymentContext(bundle, contextPath, servletContext);
  }
View Full Code Here

  public JettyWarDeployment(JettyContextUndeployer jettyWarUndeployer, Bundle bundle, WebAppContext wac) {
    this.undeployer = jettyWarUndeployer;
    this.webAppCtx = wac;

    // create context
    this.deploymentContext = new DefaultWarDeploymentContext(bundle, wac.getContextPath(), wac.getServletContext());
  }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.web.deployer.internal.support.DefaultWarDeploymentContext

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.