Examples of Provider


Examples of au.com.dius.pact.model.Provider

                                      String query,
                                      String requestBody,
                                      Map<String, Object> requestMatchers) {
            this.requestMatchers = requestMatchers;
            this.consumer = new Consumer(consumerName);
            this.provider = new Provider(providerName);

            this.state = state;

            this.description = description;
            this.path = path;
View Full Code Here

Examples of cc.plural.ecs.renderer.Provider

        }
        setVSyncEnabled(true);
        GL11.glViewport(0, 0, width, height);

        javaVersion = new JavaVersion(System.getProperty("java.version"));
        provider = new Provider("LWJGL", Sys.getVersion());

        int platformID = LWJGLUtil.getPlatform();
        switch (platformID) {
            case LWJGLUtil.PLATFORM_LINUX:
                platform = new Platform(Platform.LINUX, Platform.LINUX_NAME);
View Full Code Here

Examples of ch.ethz.jvmai.Provider

  protected void setUp() { }
 
  public void testProvider() {
    String providerClassName = System.getProperty("ch.ethz.prose.JVMAIProvider");
    if(providerClassName==null) throw new Error("system-property 'ch.ethz.prose.JVMAIProvider' not set!");
    Provider provider = null;
    try{
      Class providerClass = Class.forName(providerClassName);
      provider = (Provider)providerClass.newInstance();
    } catch (Exception e) {
      provider = null;
    }
    assertTrue("provider works with the current virtual machine",provider!=null);
    JVMAspectInterface aspectInterface = provider.getAspectInterface();
    assertTrue("aspcet-interface is not null",aspectInterface!=null);
  }
View Full Code Here

Examples of com.alibaba.dubbo.registry.common.domain.Provider

                    && entry.getValue()[0] != null && entry.getValue()[0].length() > 0) {
                if (! currentUser.hasServicePrivilege(entry.getKey())) {
                    throw new IllegalStateException("The user " + operator + " have no privilege of service " + entry.getKey());
                }
                for(Entry<String,String> e : CollectionUtils.split(Arrays.asList(entry.getValue()), "?").entrySet()){
                   Provider provider = providervice.findByServiceAndAddress(entry.getKey(), e.getKey());
                    if (provider != null) {
                        providervice.deleteStaticProvider(provider.getId());
                    }
                }
            }
        }
      
View Full Code Here

Examples of com.assaydepot.result.Provider

     
    }
   
    JsonNode rootNode = doParseURL( urlBuilder.toString() );
    JsonNode pNode = rootNode.path( "provider" );
    Provider provider = new Provider();
    provider.setServiceAreas( new ArrayList<String>() );
    provider.setLaboratories( new ArrayList<String>() );
    provider.setKeywords( new ArrayList<String>() );
    provider.setCertifications( new ArrayList<String>() );
    provider.setProfessionalAssociations( new ArrayList<String>() );
   
    provider.setId( pNode.path( "id" ).getTextValue() );
    provider.setSlug( pNode.path( "slug" ).getTextValue() );
    provider.setName( pNode.path( "name" ).getTextValue() );
    provider.setPhoneNumber( pNode.path( "phone_number" ).getTextValue() );
    provider.setWebsite( pNode.path( "website" ).getTextValue() );
    provider.setServiceAreas( doArray( pNode.path( "service_areas" )));
    provider.setHeadquarters( pNode.path( "headquarters" ).getTextValue() );
    provider.setLaboratories( doArray( pNode.path( "laboratories" )));
    provider.setYearEstablished( pNode.path( "year_established" ).getIntValue() );
    provider.setNumEmployees( pNode.path( "number_of_employees" ).asText() );
    provider.setDescription( pNode.path( "description" ).getTextValue() );
    provider.setKeywords( doArray( pNode.path( "keywords" )));
    provider.setCertifications( doArray( pNode.path( "certifications" )));
    provider.setProfessionalAssociations( doArray( pNode.path( "professional_associations" )));
    provider.setPermission( pNode.path( "permission" ).getTextValue() );
    provider.setOrigin( pNode.path( "origin" ).getTextValue() );
    provider.setGreen( pNode.path( "green" ).asBoolean() );
    provider.setGreenExplanation( pNode.path( "green_explaination" ).getTextValue() );
    provider.setDiversity( pNode.path( "diversity" ).asBoolean() );
    provider.setDiversityExplanation( pNode.path( "diversity_explaination" ).getTextValue() );
    provider.setCreatedAt( pNode.path( "created_at" ).asText() );
    provider.setUpdatedAt( pNode.path( "updated_at" ).asText() );
    provider.setUrls( doStringMap( pNode.path( "urls") ));
   
    return provider;
  }
View Full Code Here

Examples of com.axemblr.provisionr.api.provider.Provider

        command.setId("service");
        command.setKey("key");
        command.setTemplate(template.getId());

        Provisionr service = mock(Provisionr.class);
        Provider provider = newProviderMockWithBuilder();
        when(service.getDefaultProvider()).thenReturn(Optional.of(provider));

        Pool pool = command.createPoolFromArgumentsAndServiceDefaults(service);

        assertThat(pool.getSoftware().getRepositories()).hasSize(1);
View Full Code Here

Examples of com.cloud.network.Network.Provider

    public boolean canIpsUseOffering(List<PublicIp> publicIps, long offeringId) {
        Map<PublicIp, Set<Service>> ipToServices = getIpToServices(publicIps, false, true);
        Map<Service, Set<Provider>> serviceToProviders = getNetworkOfferingServiceProvidersMap(offeringId);
        for (PublicIp ip : ipToServices.keySet()) {
            Set<Service> services = ipToServices.get(ip);
            Provider provider = null;
            for (Service service : services) {
                Set<Provider> curProviders = serviceToProviders.get(service);
                if (curProviders == null || curProviders.isEmpty()) {
                    continue;
                }
                Provider curProvider = (Provider) curProviders.toArray()[0];
                if (provider == null) {
                    provider = curProvider;
                    continue;
                }
                // We don't support multiple providers for one service now
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.joda.time.tz.Provider

     * Then uses <code>UTCProvider</code>.
     *
     * @return the default name provider
     */
    private static Provider getDefaultProvider() {
        Provider provider = null;

        try {
            String providerClass =
                System.getProperty("com.facebook.presto.jdbc.internal.joda.time.DateTimeZone.Provider");
            if (providerClass != null) {
View Full Code Here

Examples of com.google.inject.Provider

      return new BootstrapModule() {
      @SuppressWarnings({ "rawtypes", "unchecked" })
      @Override
      public void configure(BootstrapBinder binder) {
              binder.bind(Key.get(type))
                  .toProvider(new Provider() {
                      @Override
                      public Object get() {
                          return annot;
                      }
                  })
View Full Code Here

Examples of com.google.inject.Provider

                          builder.withAdditionalBootstrapModules(forAnnotation(annot));
                      }
                           
                        // Makes the annotation injectable into LifecycleInjectorBuilderSuite
                        bind(Key.get(type))
                            .toProvider(new Provider() {
                                @Override
                                public Object get() {
                                    return annot;
                                }
                            })
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.