Examples of ServiceName


Examples of com.google.gwt.requestfactory.shared.ServiceName

   * Examine a RequestContext subtype to populate a ContextMethod.
   */
  private void buildContextMethod(ContextMethod.Builder contextBuilder,
      JClassType contextType) throws UnableToCompleteException {
    Service serviceAnnotation = contextType.getAnnotation(Service.class);
    ServiceName serviceNameAnnotation = contextType.getAnnotation(ServiceName.class);
    if (serviceAnnotation == null && serviceNameAnnotation == null) {
      poison("RequestContext subtype %s is missing a @%s annotation",
          contextType.getQualifiedSourceName(), Service.class.getSimpleName());
      return;
    }
View Full Code Here

Examples of com.google.web.bindery.requestfactory.shared.ServiceName

      } catch (MirroredTypeException expected) {
        TypeMirror locatorType = expected.getTypeMirror();
        return !state.types.asElement(locatorType).equals(state.serviceLocatorType.asElement());
      }
    }
    ServiceName serviceName = x.getAnnotation(ServiceName.class);
    return serviceName != null && !serviceName.locator().isEmpty();
  }
View Full Code Here

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

    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();
                methodType.setMethodName("invoke");
            }else{
View Full Code Here

Examples of org.apache.axis2.addressing.ServiceName

                            interfaceQName.getPrefix() + ":" +
                                    interfaceQName.getLocalPart()));
            parentElement.addChild(interfaceName);
        }

        ServiceName serviceName = epr.getServiceName();
        if (serviceName != null) {
            OMElement serviceNameElement =
                    OMAbstractFactory.getOMFactory().createOMElement(
                            EPR_SERVICE_NAME,
                            addressingNamespaceObject);
            serviceNameElement.addAttribute(
                    addressingNamespace.equals(Submission.WSA_NAMESPACE) ?
                            Submission.EPR_SERVICE_NAME_PORT_NAME :
                            Final.WSA_SERVICE_NAME_ENDPOINT_NAME,
                    serviceName.getEndpointName(),
                    addressingNamespaceObject);
            serviceNameElement.addChild(
                    OMAbstractFactory.getOMFactory().createText(
                            serviceName.getName().getPrefix()
                                    + ":"
                                    + serviceName.getName().getLocalPart()));
            parentElement.addChild(serviceNameElement);
        }


    }
View Full Code Here

Examples of org.apache.axis2.addressing.metadata.ServiceName

        }
       
        org.apache.axis2.jaxws.spi.ServiceDelegate serviceDelegate = null;
       
        try {
            ServiceName serviceName =
              EndpointReferenceHelper.getServiceNameMetadata(axis2EPR, addressingNamespace);
            WSDLLocation wsdlLocation =
              EndpointReferenceHelper.getWSDLLocationMetadata(axis2EPR, addressingNamespace);
            URL wsdlLocationURL = null;
           
            if (wsdlLocation.getLocation() != null) {
              wsdlLocationURL = new URL(wsdlLocation.getLocation());
                if (log.isDebugEnabled()) {
                    log.debug("getPort: Using EPR wsdlLocationURL = " + wsdlLocationURL);
                }
            } else {
              wsdlLocationURL = new URL(axis2EPR.getAddress() + "?wsdl");
                if (log.isDebugEnabled()) {
                    log.debug("getPort: Using default wsdlLocationURL = " + wsdlLocationURL);
                }
            }
           
            serviceDelegate =
              new org.apache.axis2.jaxws.spi.ServiceDelegate(wsdlLocationURL, serviceName.getName(), Service.class);
        }
        catch (Exception e) {
            throw ExceptionFactory.makeWebServiceException(Messages.getMessage("endpointUpdateError"), e);
        }
View Full Code Here

Examples of org.apache.xbean.kernel.ServiceName

            springLoader.setKernel(kernel);
            springLoader.setBaseDir(new File(serviceUnitRootPath));
            springLoader.setXmlPreprocessors(getXmlPreProcessors(serviceUnitRootPath));
            springLoader.setBeanFactoryPostProcessors(getBeanFactoryPostProcessors(serviceUnitRootPath));
           
            ServiceName configurationName = springLoader.load(getXBeanFile());
            kernel.startService(configurationName);
            su.setConfiguration(configurationName);
            // Use SU classloader
            Thread.currentThread().setContextClassLoader(su.getConfigurationClassLoader());
            // Retrieve endpoints
View Full Code Here

Examples of org.codehaus.wadi.servicespace.ServiceName

        serviceHolder.getService();
        Object service = new Object();
        modify().returnValue(service);
       
        serviceHolder.getServiceName();
        ServiceName serviceName = new ServiceName("name");
        modify().returnValue(serviceName);

        beginSection(s.ordered("Register service then start"));

        ServiceRegistry serviceRegistry = serviceSpace.getServiceRegistry();
View Full Code Here

Examples of org.jboss.msc.service.ServiceName

                                                      final ServiceName networkInterfaceBinding,
                                                      final int port,
                                                      final ServiceName securityRealmName,
                                                      final ServiceVerificationHandler verificationHandler,
                                                      final List<ServiceController<?>> newControllers) {
        ServiceName serverCallbackService = ServiceName.JBOSS.append("host", "controller", "server-inventory", "callback");
        ServiceName tmpDirPath = ServiceName.JBOSS.append("server", "path", "jboss.domain.temp.dir");
        installSecurityServices(serviceTarget, MANAGEMENT_CONNECTOR, securityRealmName, serverCallbackService, tmpDirPath, verificationHandler, newControllers);
        installConnectorServicesForNetworkInterfaceBinding(serviceTarget, endpointName, MANAGEMENT_CONNECTOR, networkInterfaceBinding, port, OptionMap.EMPTY, verificationHandler, newControllers);
    }
View Full Code Here

Examples of org.jboss.msc.service.ServiceName

            final ServiceName networkInterfaceBindingName,
            final int port,
            final ServiceName securityRealmName,
            final ServiceVerificationHandler verificationHandler,
            final List<ServiceController<?>> newControllers) {
        ServiceName tmpDirPath = ServiceName.JBOSS.append("server", "path", "jboss.server.temp.dir");
        installSecurityServices(serviceTarget, MANAGEMENT_CONNECTOR, securityRealmName, null, tmpDirPath, verificationHandler,
                newControllers);
        installConnectorServicesForNetworkInterfaceBinding(serviceTarget, endpointName, MANAGEMENT_CONNECTOR, networkInterfaceBindingName, port, OptionMap.EMPTY, verificationHandler, newControllers);
    }
View Full Code Here

Examples of org.jboss.msc.service.ServiceName

            final ServiceName modelControllerName,
            final String channelName,
            final ServiceVerificationHandler verificationHandler,
            final List<ServiceController<?>> newControllers) {

        final ServiceName operationHandlerName = endpointName.append(channelName).append(ModelControllerClientOperationHandlerFactoryService.OPERATION_HANDLER_NAME_SUFFIX);

        ServiceBuilder<?> builder = serviceTarget.addService(operationHandlerName, operationHandlerService)
            .addDependency(modelControllerName, ModelController.class, operationHandlerService.getModelControllerInjector())
            .setInitialMode(ACTIVE);
        addController(newControllers, verificationHandler, builder);
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.