Examples of provider()


Examples of org.cruxframework.crux.core.client.ioc.IoCResource.provider()

          {
            iocConfig.toClass((Class) ioCResource.bindClass());
          }
          if (!ioCResource.provider().equals(NoProvider.class))
          {
            iocConfig.toProvider((Class)ioCResource.provider());
          }
          iocConfig.runtimeAccessible(ioCResource.runtimeAccessible());
          iocConfig.scope(ioCResource.scope());
        }
      }
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon.provider()

         }
         unit.name(unitName).description(DEFAULT_UNIT_DESC);

         if (provider.getProvider() != null)
         {
            unit.provider(provider.getProvider());
         }

         container.setupConnection(unit, dataSource);
         provider.configure(unit, dataSource, project);
         facet.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon.provider()

         }
         unit.name(unitName).description(DEFAULT_UNIT_DESC);

         if (provider.getProvider() != null)
         {
            unit.provider(provider.getProvider());
         }

         container.setupConnection(unit, dataSource);
         provider.configure(unit, dataSource, project);
         facet.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceUnitCommon.provider()

         PersistenceUnitCommon unit = config.createPersistenceUnit();
         unit.name(unitName).description(DEFAULT_UNIT_DESC);

         if (provider.getProvider() != null)
         {
            unit.provider(provider.getProvider());
         }

         container.setupConnection(unit, dataSource);
         provider.configure(unit, dataSource, project);
         facet.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.spec.jpa.persistence.PersistenceUnitDef.provider()

               .setPassword(jdbcPassword)
               .setContainer(container)
               .setProvider(provider);

      unit.transactionType(container.getTransactionType());
      unit.provider(provider.getProvider());
      container.setupConnection(unit, ds);
      provider.configure(unit, ds);

      jpa.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.spec.jpa.persistence.PersistenceUnitDef.provider()

               .setPassword(jdbcPassword)
               .setContainer(container)
               .setProvider(provider);

      unit.transactionType(container.getTransactionType());
      unit.provider(provider.getProvider());
      container.setupConnection(unit, ds);
      provider.configure(unit, ds);

      jpa.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.spec.jpa.persistence.PersistenceUnitDef.provider()

               .setPassword(jdbcPassword)
               .setContainer(container)
               .setProvider(provider);

      unit.transactionType(container.getTransactionType());
      unit.provider(provider.getProvider());
      container.setupConnection(unit, ds);
      provider.configure(unit, ds);

      jpa.saveConfig(config);
View Full Code Here

Examples of org.jboss.shrinkwrap.descriptor.api.spec.jpa.persistence.PersistenceUnitDef.provider()

               .setPassword(jdbcPassword)
               .setContainer(container)
               .setProvider(provider);

      unit.transactionType(container.getTransactionType());
      unit.provider(provider.getProvider());
      container.setupConnection(unit, ds);
      provider.configure(unit, ds);

      jpa.saveConfig(config);
View Full Code Here

Examples of org.jclouds.samples.googleappengine.domain.ResourceResult.Builder.provider()

   public ResourceResult apply(ResourceMetadata<?> in) {
      Builder builder = ResourceResult.builder();
      Location provider = in.getLocation();
      while (provider.getParent() != null)
         provider = provider.getParent();
      builder.provider(provider.getId());
      builder.location(in.getLocation().getId());
      builder.type(in.getType().toString().toLowerCase());
      builder.id(in.getProviderId());
      builder.name(in.getName());
      return builder.build();
View Full Code Here

Examples of org.switchyard.Exchange.provider()

        ServiceReference reference = new ServiceReferenceImpl(name, new InOnlyService(), null, null);
        ExchangeDispatcher dispatch = _provider.createDispatcher(reference);

        Exchange exchange = new CamelExchange(dispatch, new DefaultExchange(_camelContext), sink);
        exchange.consumer(reference, reference.getInterface().getOperation(ServiceInterface.DEFAULT_OPERATION));
        exchange.provider(service, service.getInterface().getOperation(ServiceInterface.DEFAULT_OPERATION));
        Message message = exchange.createMessage();
        exchange.send(message);
        Thread.sleep(200);

        Assert.assertEquals(1, counter.initiatedCount);
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.