Examples of Services


Examples of cl.rivendel.servicios.Services

    contentPane.setLayout(gl_contentPane);

    // se inicializa la lista de jugadores
    listado = new LinkedList<Jugador>();

    servicio = new Services();

  }
View Full Code Here

Examples of com.arjuna.orbportability.Services

      /** Initialise ORB and OA **/
      testORB.initORB(args, null);
      testOA.initPOA(args);

      /** Create services object **/
      Services testServ = new Services(testORB);

      String[] params = new String[1];
      params[0] = com.arjuna.orbportability.Services.otsKind;

      SimpleObjectImpl servant = new com.hp.mwtests.orbportability.orbspecific.orbinstance.SimpleObjectImpl();

      testOA.objectIsReady(servant);

      /*
       * Register using the default mechanism.
       */
      testServ.registerService(com.hp.mwtests.orbportability.orbspecific.orbtests.SimpleObjectHelper.narrow(testOA.corbaReference(servant)), TEST_SERVICE_NAME, params, Services.CONFIGURATION_FILE);

      assertSuccess();
    }
    catch (Exception e)
    {
View Full Code Here

Examples of com.iggroup.oss.restdoclet.doclet.type.Services

            ServiceUtils.serviceFile(dirs, identifier));
         identifier++;
      }

      LOG.info("Processing services...");
      Services list = new Services();
      for (Service service : services) {
         org.apache.commons.collections.Predicate predicate =
            new ControllerTypePredicate(service.getController().getType());
         if (CollectionUtils.exists(list.getControllers(), predicate)) {
            ControllerSummary controller =
               (ControllerSummary) CollectionUtils.find(list.getControllers(),
                  predicate);
            controller.addService(service);
         } else {
            ControllerSummary controller =
               new ControllerSummary(service.getController().getType(),
                  service.getController().getJavadoc());
            controller.addService(service);
            list.addController(controller);
         }
      }

      LOG.info("Marshalling services...");
      list.assertValid();
      JiBXUtils.marshallServices(list, ServiceUtils.servicesFile(dirs));
   }
View Full Code Here

Examples of com.k42b3.neodym.Services

  }
 
  public static OauthProvider discoverProvider(Http http, String baseUrl, String consumerKey, String consumerSecret) throws Exception
  {
    // load available services
    Services services = new Services(http, baseUrl);
    services.discover();

    ServiceItem request = services.getItem("http://oauth.net/core/1.0/endpoint/request");
    ServiceItem authorization = services.getItem("http://oauth.net/core/1.0/endpoint/authorize");
    ServiceItem access = services.getItem("http://oauth.net/core/1.0/endpoint/access");

    if(request == null)
    {
      throw new Exception("Could not find request service");
    }
View Full Code Here

Examples of com.mozilla.grouperfish.services.api.guice.Services

     */
  public static void main(final String[] arguments) throws Exception {
      final Properties properties =
            PropertiesTool.load(Grouperfish.class, "grouperfish.properties");
      new Grouperfish(
              new Services(properties),
              new BatchSystem(),
              new AbstractModule() {
                  @Override protected void configure() {
                      bind(Properties.class).toProvider(new Provider<Properties>() {
                          @Override public Properties get() { return properties; }
View Full Code Here

Examples of com.woorea.openstack.keystone.model.Services

  }

  @Override
  public void execute(Keystone keystone, CommandLine cmd) {
   
    final Services services = keystone.services().list().execute();
   
    Table t = new Table(new TableModel<Service>(services.getList()) {

      @Override
      public Column[] getHeaders() {
        return new Column[]{
          new Column("id", 32, Column.ALIGN_LEFT),
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.generated.WorkflowConf.Services

     
      //1.add the template retrieved from the uploaded wfconfig
      Template serTempl = new Template();
      serTempl.setClazz(wfTemplateName);
     
      Services services = new Services();
      //2.browse through the provided services and build the Services object
      for(ServiceBean sb : sbs){
        Service service = new Service();
        service.setId(sb.getServiceId());
        service.setEndpoint(sb.getServiceEndpoint());
       
        Parameters parameters = new Parameters();
        //3. iterate over all parameters that have been created/altered
        for(ServiceParameter param : sb.getServiceParameters()){
          Param parameter = new Param();
          parameter.setName(param.getName());
          parameter.setValue(param.getValue());
          parameters.getParam().add(parameter);
        }
        if(parameters.getParam().size()>0){
          //there needs to be a Parameter element only if there's a param for being xsd compliant
          service.setParameters(parameters);
        }
       
        services.getService().add(service);
      }
     
      String sWFConfig = this.buildXMLConfig(serTempl, services);
      return WorkflowConfigUtil.unmarshalWorkflowConfig(sWFConfig);
     
View Full Code Here

Examples of gap.util.Services

                }
            }
            /*
             * (run)
             */
            Services beans = new Services(src,"gap.data.BigTable");
            if (!beans.dropTouch()){
                if (!beans.getParentFile().isDirectory()){
                    System.err.println("Error, parent directory not found: '"+beans.getName()+"'.");
                    System.exit(1);
                    return;
                }
                else {
                    System.err.println("Error, file not writeable: '"+beans.getName()+"'.");
                    System.exit(1);
                    return;
                }
            }
            Services servlets = new Services(src,"gap.service.Servlet");
            if (!servlets.dropTouch()){
                if (!servlets.getParentFile().isDirectory()){
                    System.err.println("Error, parent directory not found: '"+servlets.getName()+"'.");
                    System.exit(1);
                    return;
                }
                else {
                    System.err.println("Error, file not writeable: '"+servlets.getName()+"'.");
                    System.exit(1);
                    return;
                }
            }
            int rc = 0;
            try {
                System.out.println("Source: "+odl.getPath());
                System.out.println("Target: "+src.getPath());
                lxl.List<File> products = Main.ProcessDirectories(odl,src,beans,servlets);
                for (File product : products){
                    System.out.println("Product: "+product.getPath());
                }
                /*
                 */
                try {
                    File webXml = Main.ProcessServlets(servlets);
                    System.out.println("Product: "+webXml.getPath());
                }
                catch (TemplateException exc){
                    exc.printStackTrace();
                }
                catch (java.io.FileNotFoundException ignore){
                }
                /*
                 */
                if (!servlets.write()){
                    System.err.println("Error, services write error: '"+servlets.getResource().getPath()+"'.");
                    rc = 1;
                }
                else
                    System.out.println("Product: "+servlets.getName());

                if (!beans.write()){
                    System.err.println("Error, services write error: '"+beans.getResource().getPath()+"'.");
                    rc = 1;
                }
View Full Code Here

Examples of io.fathom.cloud.compute.api.os.model.Services

    @GET
    @Produces({ JSON })
    public Services listServices() throws CloudException {
        warnStub();

        Services services = new Services();
        services.services = Lists.newArrayList();
        return services;
    }
View Full Code Here

Examples of net.sf.minuteProject.loader.mapping.node.Services

      }
    }
  }
 
  private void generateServiceSpecific(Template template) throws MinuteProjectException
    Services services = mappingHolder.getBeanMap().getServices();
    if (services!=null) {
      for (Service service : services.getServices()) {
        boolean isToGenerate = true;
          if (template.getCheckTemplateToGenerate()!=null && template.getCheckTemplateToGenerate().equals("true")) {
            if (!template.isToGenerate(service)) {
              isToGenerate =false;
            }
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.