Examples of PluginService


Examples of com.founder.fix.fixflow.editor.service.PluginService

      throws ServletException, IOException {
    // TODO Auto-generated method stub
    String action = req.getParameter("action");
    try{
      if("getPlugin".equals(action)){
        PluginService pluginService = new PluginServiceImpl();
        pluginService.getPluginXml(req, resp);
      }else if("getStencilset".equals(action)){
        StencilsetService stencilsetService = new StencilsetServiceImpl();
        stencilsetService.getStencilsetJson(req, resp);
      }else if("loadBPMNWeb".equals(action)){
        WebModelService webModelService = new WebModelServiceImpl(req, resp);
View Full Code Here

Examples of io.hawt.springboot.PluginService

   * Register rest endpoint to handle requests for /plugin, and return all registered plugins.
   * @return
   */
  @Bean
  public PluginService pluginService(){
    return new PluginService();
  }
View Full Code Here

Examples of org.apache.easyant.core.services.PluginService

                File optionalAntModule = new File(moduleDescriptor.getParent(),
                        EasyAntConstants.DEFAULT_BUILD_FILE);
                File overrideAntModule = new File(moduleDescriptor.getParent(),
                        EasyAntConstants.DEFAULT_OVERRIDE_BUILD_FILE);

                PluginService pluginService = (PluginService)project.getReference(EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE);
                setEareport(pluginService.generateEasyAntReport(moduleDescriptor,optionalAntModule,overrideAntModule));
            } catch (Exception e) {
                throw new BuildException("EasyAntMan could not be initialized. Details: " + e.getMessage(),e);
            }
        }
        return eareport;
View Full Code Here

Examples of org.apache.easyant.core.services.PluginService

        if (todir != null && todir.exists() && !todir.isDirectory()) {
            throw new BuildException("destination directory should be a directory !");
        }

        PluginService pluginService = (PluginService) getProject().getReference(
                EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE);

        try {
            EasyAntReport easyantReport = pluginService.getPluginInfo(moduleIvy, sourceDirectory, conf);
            ModuleRevisionId moduleRevisionId = easyantReport.getModuleDescriptor().getModuleRevisionId();
            File reportFile = new File(todir, getOutputPattern(moduleRevisionId, conf, "xml"));
            todir.mkdirs();
            OutputStream stream = new FileOutputStream(reportFile);
            XMLEasyAntReportWriter writer = new XMLEasyAntReportWriter();
View Full Code Here

Examples of org.apache.easyant.core.services.PluginService

        if (easyantResolverName == null) {
            throw new BuildException("easyantResolverName is mandatory !");
        }

        PluginService pluginService = (PluginService) getProject().getReference(
                EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE);
        EasyAntReport easyAntReport = null;
        try {
            easyAntReport = pluginService.generateEasyAntReport(moduleIvy);
            installBuildTypeAndPlugins(easyAntReport);
            installProjectDependencies(easyAntReport);
        } catch (Exception e) {
            throw new BuildException("Can't retrieve project report", e);
        }
View Full Code Here

Examples of org.b3log.solo.jsonrpc.impl.PluginService

            final TagService tagService = TagService.getInstance();
            JSONRPCBridge.getGlobalBridge().registerObject(tagService.
                    getServiceObjectName(), tagService);

            final PluginService pluginService = PluginService.getInstance();
            JSONRPCBridge.getGlobalBridge().registerObject(pluginService.
                    getServiceObjectName(), pluginService);
        } catch (final Exception e) {
            LOGGER.log(Level.SEVERE, "Register remote JavaScript service error",
                       e);
            throw new IllegalStateException(e);
View Full Code Here

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

  public List<Plugin> searchAddOns(String searchTerms, boolean refresh, boolean trustedOnly, boolean compatibleOnly) {
    ServiceReference addOnServiceReference = null;
    try {
      addOnServiceReference = getAddOnService(addOnServiceReference);
      if (addOnServiceReference != null) {
        PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
        return service.search(searchTerms, refresh, trustedOnly, compatibleOnly);
      }
    }
    catch (Throwable e) {
      RooCoreActivator.log(e);
    } finally {
View Full Code Here

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

  public IStatus install(PluginVersion version) {
    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

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

  public IStatus update(PluginVersion version) {
    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

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

  public IStatus uninstall(PluginVersion version) {
    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
Copyright © 2018 www.massapi.com. 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.