Package org.emrys.webosgi.core.service

Examples of org.emrys.webosgi.core.service.IOSGiWebContainer


    public void removingEntries(Bundle bundle, List<Bundle> entries) {
      if (bundle.getState() == Bundle.INSTALLED) {
        ComActivator activator = FwkRuntime.getInstance()
            .getBundleActivator(bundle.getBundleId());
        if (activator instanceof WebComActivator) {
          IOSGiWebContainer webContainer = fwkRuntime
              .getWebContainer();
          WebComActivator webActivator = (WebComActivator) activator;
          webContainer.unregServletContext(webActivator
              .getBundleServletContext());
          try {
            webContainer.refresh();
            FwkActivator.getInstance().log(
                "Removed web bundle service: "
                    + webActivator.getBundleSymbleName(),
                0, false);
          } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.emrys.webosgi.core.service.IOSGiWebContainer

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.