Package com.liferay.httpservice.internal.servlet

Examples of com.liferay.httpservice.internal.servlet.BundleServletContext$FilterServiceRankingComparator


  }

  public void doStop(Bundle bundle, String servletContextName) {
    EventUtil.sendEvent(bundle, EventUtil.UNDEPLOYING, null, false);

    BundleServletContext bundleServletContext = null;

    ServletContext servletContext = ServletContextPool.get(
      servletContextName);

    if ((servletContext != null) &&
      (servletContext instanceof BundleServletContext)) {

      bundleServletContext = (BundleServletContext)servletContext;
    }

    if (bundleServletContext == null) {
      EventUtil.sendEvent(bundle, EventUtil.UNDEPLOYED, null, false);

      return;
    }

    try {
      bundleServletContext.close();
    }
    catch (Exception e) {
      EventUtil.sendEvent(bundle, EventUtil.FAILED, null, false);
    }
View Full Code Here

TOP

Related Classes of com.liferay.httpservice.internal.servlet.BundleServletContext$FilterServiceRankingComparator

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.