Examples of addEndpoint()


Examples of org.apache.cxf.service.model.ServiceInfo.addEndpoint()

        }
        EndpointInfo ei = new EndpointInfo(si, transportId);
        ei.setBinding(bi);
        ei.setName(epName == null ? iName : epName);
        ei.setAddress(location);
        si.addEndpoint(ei);
        if (policy != null) {
            ei.addExtensor(policy);
        }
       
        BindingOperationInfo boi = bi.getOperation(ioi);
View Full Code Here

Examples of org.apache.cxf.service.model.ServiceInfo.addEndpoint()

        Object ua = getUsingAddressing(aei);
        if (null != ua) {
            ei.addExtensor(ua);
        }
        si.addEndpoint(ei);

        Endpoint endpoint = new WrappedEndpoint(applicationEndpoint, ei, service);
        service.setEndpoint(endpoint);
        endpoints.put(protocol, endpoint);
    }
View Full Code Here

Examples of org.apache.cxf.service.model.ServiceInfo.addEndpoint()

        }
        EndpointInfo ei = new EndpointInfo(si, transportId);
        ei.setBinding(bi);
        ei.setName(epName == null ? iName : epName);
        ei.setAddress(location);
        si.addEndpoint(ei);
        if (policy != null) {
            ei.addExtensor(policy);
        }
       
        BindingOperationInfo boi = bi.getOperation(ioi);
View Full Code Here

Examples of org.apache.cxf.service.model.ServiceInfo.addEndpoint()

        Object ua = getUsingAddressing(aei);
        if (null != ua) {
            ei.addExtensor(ua);
        }
        si.addEndpoint(ei);

        endpoint = new WrappedEndpoint(applicationEndpoint, ei, service);
        service.setEndpoint(endpoint);
    }
View Full Code Here

Examples of org.apache.cxf.service.model.ServiceInfo.addEndpoint()

        }
        EndpointInfo ei = new EndpointInfo(si, transportId);
        ei.setBinding(bi);
        ei.setName(epName == null ? iName : epName);
        ei.setAddress(location);
        si.addEndpoint(ei);
        if (policy != null) {
            ei.addExtensor(policy);
        }
       
        BindingOperationInfo boi = bi.getOperation(ioi);
View Full Code Here

Examples of org.apache.marmotta.ldclient.model.ClientConfiguration.addEndpoint()

     */
    @Test
    public void testDBPedia() throws Exception {

        ClientConfiguration config = new ClientConfiguration();
        config.addEndpoint(new StanbolEndpoint("DBPedia (Stanbol Cache)","http://dev.iks-project.eu:8080/entityhub/site/dbpedia/","^http://dbpedia\\.org/resource/.*"));

        LDClientService ldclient = new TestLDClient(new LDClient(config));

        Assume.assumeTrue(ldclient.ping("http://dev.iks-project.eu:8080/"));

View Full Code Here

Examples of org.apache.servicemix.common.DefaultComponent.addEndpoint()

        reg.setNmr(nmr);
        reg.setDocumentRepository(new DocumentRepositoryImpl());
        this.componentRegistry = reg;

        DefaultComponent component = new DefaultComponent();
        component.addEndpoint(new TestProviderEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
                                               "provider",
                                               new QName("urn:test", "interface")));
        component.addEndpoint(new TestConsumerEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
View Full Code Here

Examples of org.apache.synapse.config.SynapseConfiguration.addEndpoint()

                getResourceAsStream(proxyFileName));
        proxy.setFileName(proxyFileName);

        SynapseConfiguration synapseConfig = synapseConfigSvc.getSynapseConfiguration();
        synapseConfig.addSequence(seq.getName(), seq);
        synapseConfig.addEndpoint(endpoint.getName(), endpoint);
        synapseConfig.addProxyService(proxy.getName(), proxy);

        MediationPersistenceManager pm = getMediationPersistenceManager();
        pm.saveItem(seq.getName(), ServiceBusConstants.ITEM_TYPE_SEQUENCE);
        pm.saveItem(endpoint.getName(), ServiceBusConstants.ITEM_TYPE_ENDPOINT);
View Full Code Here

Examples of org.apache.synapse.config.SynapseConfiguration.addEndpoint()

        synapseConfig.addEntry(entry.getKey(), entry);

        // Add an endpoint which is dependent on the local entry 'sec_policy'
        Endpoint endpoint = createEndpoint("endpoint");
        initEndpoint(endpoint, entry.getKey());
        synapseConfig.addEndpoint(endpoint.getName(), endpoint);

        // Test
        assertDependency(ConfigurationObject.TYPE_ENTRY, entry.getKey(), endpoint.getName());

        // Add a sequence which is dependent on the endpoint
View Full Code Here

Examples of org.apache.synapse.config.SynapseConfiguration.addEndpoint()

        Entry entry = createEntry("sec_policy");
        synapseConfig.addEntry(entry.getKey(), entry);

        Endpoint endpoint = createEndpoint("endpoint");
        initEndpoint(endpoint, entry.getKey());
        synapseConfig.addEndpoint(endpoint.getName(), endpoint);

        SequenceMediator seq1 = createSequence("seq1", null);
        SendMediator send = new SendMediator();
        IndirectEndpoint endpointRef = new IndirectEndpoint();
        endpointRef.setKey(endpoint.getName());
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.