Examples of ServiceType


Examples of Shop.ServiceType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetServiceType(ServiceType newServiceType, NotificationChain msgs) {
    ServiceType oldServiceType = serviceType;
    serviceType = newServiceType;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ShopPackage.SHIPPING_INSTRUCTIONS__SERVICE_TYPE, oldServiceType, newServiceType);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of ch.ethz.iks.slp.ServiceType

   * {@link ch.ethz.iks.slp.Locator}.
   */
  public void testService() throws Exception {
    int count = 0;
    for (ServiceLocationEnumeration services = TestActivator.locator
        .findServices(new ServiceType("service:osgi"), null, null); services
        .hasMoreElements();) {
      assertEquals(services.next().toString(),
          "service:osgi://"  + HOST_AND_PORT);
      count++;
    }
View Full Code Here

Examples of com.caucho.remote.annotation.ServiceType

          _webApp.addServletMapping(mapping);

          event.veto();
        }
        else if (annType.isAnnotationPresent(ServiceType.class)) {
          ServiceType serviceType
            = (ServiceType) annType.getAnnotation(ServiceType.class);

          Class<?> factoryClass = serviceType.defaultFactory();
          ProtocolServletFactory factory
            = (ProtocolServletFactory) factoryClass.newInstance();

          factory.setServiceType(ann);
          factory.setAnnotated(annotated);
View Full Code Here

Examples of com.couchbase.client.core.service.ServiceType

        return service;
    }

    @Override
    public Service locate(final CouchbaseRequest request) {
        ServiceType type = serviceTypeFor(request);
        if (type.mapping() == BucketServiceMapping.ONE_BY_ONE) {
            return localServices.get(request.bucket()).get(type);
        } else {
            return globalServices.get(type);
        }
    }
View Full Code Here

Examples of com.github.dynamicextensionsalfresco.annotations.ServiceType

  @Override
  protected String determinePrimaryCandidate(final Map<String, Object> candidateBeans,
      final DependencyDescriptor descriptor) {
    String beanName = ClassUtils.getShortName(descriptor.getDependencyType());
    final AlfrescoService alfrescoService = getAnnotation(descriptor, AlfrescoService.class);
    final ServiceType serviceType = alfrescoService != null ? alfrescoService.value() : ServiceType.DEFAULT;
    switch (serviceType) {
    default:
      // Fall through
    case DEFAULT:
      if (candidateBeans.containsKey(beanName)) {
View Full Code Here

Examples of com.vmware.bdd.spectypes.ServiceType

         }
      }
   }

   private void setExternalMapReduceFromConf(ClusterBlueprint blueprint) {
      ServiceType type = getMapReduceType(blueprint);
      if (blueprint.getConfiguration() != null) {
         Map conf = blueprint.getConfiguration();
         Map hadoopConf = (Map) conf.get("hadoop");
         if (hadoopConf != null) {
            Map coreSiteConf = null;
            String mapreduce = "";
            if (type == null || type.equals(ServiceType.MAPRED)) {
               coreSiteConf = (Map) hadoopConf.get("mapred-site.xml");
               if (coreSiteConf != null) {
                  mapreduce = (String) coreSiteConf.get("mapred.job.tracker");
               }
            } else {
View Full Code Here

Examples of info.openurl.oom.entities.ServiceType

            Referent referent = processor.referentFactory(referentDescriptors.toArray());
            Requester requester = processor.requesterFactory(requesterDescriptors.toArray());
            ReferringEntity referringEntity = processor.referringEntityFactory(referringEntityDescriptors.toArray());
            Referrer referrer = processor.referrerFactory(referrerDescriptors.toArray());
            Resolver resolver = processor.resolverFactory(resolverDescriptors.toArray());
            ServiceType serviceType = processor.serviceTypeFactory(serviceTypeDescriptors.toArray());

            // Construct the ContextObject
            ContextObject contextObject =
                    processor.contextObjectFactory(referent, new ReferringEntity[] { referringEntity },
                            new Requester[] { requester }, new ServiceType[] { serviceType },
View Full Code Here

Examples of net.jini.lookup.entry.ServiceType

     * 'Equality' checks for attributes which may be preferred, but visible
     * to the test classpath
     */
    private static boolean specialCheck(Entry a1, Entry a2) {
  if (a1 instanceof ServiceType && a2 instanceof ServiceType) {
      ServiceType t1 = (ServiceType) a1;
      ServiceType t2 = (ServiceType) a2;
      if (t1.getDisplayName() != null) {
    if (!t1.getDisplayName().equals(t2.getDisplayName())) {
        return false;
    }
      } else if (t2.getDisplayName() != null) {
        return false;
      }
      if (t1.getShortDescription() != null) {
    if (!t1.getShortDescription().equals(t2.getShortDescription())) {
        return false;
    }
      } else if (t2.getShortDescription() != null) {
        return false;
      }
      return true;
  }
  return false;
View Full Code Here

Examples of net.opengis.wcs10.ServiceType

   * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
   * @generated
   */
    public NotificationChain basicSetService(ServiceType newService, NotificationChain msgs) {
    ServiceType oldService = service;
    service = newService;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wcs10Package.WCS_CAPABILITIES_TYPE__SERVICE, oldService, newService);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.apache.airavata.schemas.gfac.ServiceType

    }

    public String getWSDL(ServiceDescription service) throws Exception{
        try {
           
            ServiceType type = service.getType().addNewService();
            ServiceName name = type.addNewServiceName();
            name.setStringValue(service.getType().getName());
            name.setTargetNamespace("http://schemas.airavata.apache.org/gfac/type");
            if(service.getType().getPortType() == null){
                PortTypeType portType = service.getType().addNewPortType();
                MethodType methodType = portType.addNewMethod();
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.