Package org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService

Examples of org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService.InstallOrUpgradeStatus


    ServiceReference addOnServiceReference = null;
    try {
      addOnServiceReference = getAddOnService(addOnServiceReference);
      if (addOnServiceReference != null) {
        PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
        InstallOrUpgradeStatus result = service.install(version);
        return handleResult(result);
      }
    }
    catch (Throwable e) {
      RooCoreActivator.log(e);
View Full Code Here


    ServiceReference addOnServiceReference = null;
    try {
      addOnServiceReference = getAddOnService(addOnServiceReference);
      if (addOnServiceReference != null) {
        PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
        InstallOrUpgradeStatus result = service.upgrade(version);
        return handleResult(result);
      }
    }
    catch (Throwable e) {
      RooCoreActivator.log(e);
View Full Code Here

    ServiceReference addOnServiceReference = null;
    try {
      addOnServiceReference = getAddOnService(addOnServiceReference);
      if (addOnServiceReference != null) {
        PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
        InstallOrUpgradeStatus result = service.remove(version);
        if (result == InstallOrUpgradeStatus.SUCCESS) {
          return Status.OK_STATUS;
        }
        else {
          return new Status(IStatus.ERROR, RooCoreActivator.PLUGIN_ID, "Operation failed.");
View Full Code Here

TOP

Related Classes of org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService.InstallOrUpgradeStatus

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.