Examples of createService()


Examples of org.apache.airavata.xbaya.jython.lib.GFacServiceCreator.createService()

     */
    public void testCreate() throws WorkflowException {
        URI gFacURL = this.configuration.getGFacURL();
        URI gFacWSDLURL = WSDLUtil.appendWSDLQuary(gFacURL);
        GFacServiceCreator creator = new GFacServiceCreator(gFacWSDLURL);
        creator.createService(TEST_SERVICE_QNAME);
        creator.shutdownService();
    }

    /**
     * @throws WorkflowException
View Full Code Here

Examples of org.apache.axis2.deployment.repository.util.ArchiveReader.createService()

                StringWriter errorWriter= new StringWriter();
                switch (type) {
                    case SERVICE:
                        try {
                           // ServiceDescription service = archiveReader.createService(currentArchiveFile.getAbsolutePath());
                            ServiceDescription service = archiveReader.createService(currentArchiveFile);
                            archiveReader.readServiceArchive(currentArchiveFile.getAbsolutePath(), this, service);
                            addnewService(service);
                            log.info("Deployement WS Name  " + currentArchiveFile.getName());
                        } catch (DeploymentException de) {
                            log.info("Invalid service" + currentArchiveFile.getName());
View Full Code Here

Examples of org.apache.cxf.service.ServiceBuilder.createService()

        }

        // check for command line specification of data binding.

        ServiceBuilder builder = getServiceBuilder();
        ServiceInfo serviceInfo = builder.createService();

        File jsFile = getOutputFile(builder.getOutputFile(), serviceInfo.getName().getLocalPart() + ".js");

        BasicNameManager nameManager = BasicNameManager.newNameManager(serviceInfo, null);
        NamespacePrefixAccumulator prefixManager = new NamespacePrefixAccumulator(serviceInfo
View Full Code Here

Examples of org.apache.cxf.service.ServiceBuilder.createService()

            System.setProperty(JAVA_CLASS_PATH, newCp + File.pathSeparator + oldClassPath);
            LOG.log(Level.INFO, "NEW_CP", newCp);
        }

        ServiceBuilder builder = getServiceBuilder();
        ServiceInfo service = builder.createService();

        customize(service);

        File wsdlFile = getOutputFile(builder.getOutputFile(),
                                      service.getName().getLocalPart() + ".wsdl");
View Full Code Here

Examples of org.apache.hivemind.service.impl.BuilderFactoryLogic.createService()

        parameter.setClassName(ServiceAutowireTarget.class.getName());
        parameter.setAutowireServices(true);

        BuilderFactoryLogic logic = new BuilderFactoryLogic(module, log, "foo.bar", parameter);

        ServiceAutowireTarget service = (ServiceAutowireTarget) logic.createService();

        assertSame(h, service.getStringHolder());

        verifyControls();
    }
View Full Code Here

Examples of org.apache.olingo.odata2.api.ODataServiceFactory.createService()

      final String requestContentType,
      final HttpStatusCodes expectedStatusCode) throws ODataException {

    ODataServiceFactory serviceFactory = mock(ODataServiceFactory.class);
    final ODataService service = mockODataService(serviceFactory);
    when(serviceFactory.createService(any(ODataContext.class))).thenReturn(service);

    final ODataRequest request = mockODataRequest(method, pathSegments, queryParameters,
        httpHeaderName, httpHeaderValue, requestContentType);
    final ODataContextImpl context = new ODataContextImpl(request, serviceFactory);
View Full Code Here

Examples of org.apache.tapestry.ioc.ServiceLifecycle.createService()

     */
    public Object createObject()
    {
        ServiceLifecycle lifecycle = _registry.getServiceLifecycle(_serviceScope);

        return lifecycle.createService(_resources, _creator);
    }

}
View Full Code Here

Examples of org.apache.tapestry5.ioc.ServiceLifecycle.createService()

     */
    public Object createObject()
    {
        ServiceLifecycle lifecycle = registry.getServiceLifecycle(serviceScope);

        return lifecycle.createService(resources, creator);
    }

}
View Full Code Here

Examples of org.apache.tuscany.model.assembly.AssemblyFactory.createService()

        // Also derive properties from the overridable properties of the components in the composite
        if (componentType == null) {
            AssemblyFactory factory = modelContext.getAssemblyFactory();
            componentType = factory.createComponentType();
            for (EntryPoint entryPoint : getEntryPoints()) {
                Service service = factory.createService();
                service.setName(entryPoint.getName());
                ServiceContract serviceContract = entryPoint.getConfiguredService().getPort().getServiceContract();
                if (serviceContract != null)
                    service.setServiceContract(serviceContract);
                componentType.getServices().add(service);
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.AssemblyFactory.createService()

        AssemblyFactory assemblyFactory = modelFactories.getFactory(AssemblyFactory.class);
        JavaInterfaceFactory javaFactory = modelFactories.getFactory(JavaInterfaceFactory.class);
       
        // Resource implementation always provide a single service exposing
        // the Resource interface, and have no references and properties
        widgetService = assemblyFactory.createService();
        widgetService.setName("Widget");
       
        // Create the Java interface contract for the Resource service
        JavaInterface javaInterface;
        try {
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.