Examples of publish()


Examples of org.apache.cxf.jaxws.EndpointImpl.publish()

        address = "http://localhost:" + PORT + "/SoapContext/SoapPort";

       
        EndpointImpl e = (EndpointImpl) Endpoint.create(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING,
                                                        new Greeter12Impl());
        e.publish(address);
        eps.add(e);
       
        implementor = new DocLitBareGreeterImpl();
        address = "http://localhost:" + BARE_PORT + "/SoapContext/SoapPort";
        eps.add(Endpoint.publish(address, implementor));
View Full Code Here

Examples of org.apache.cxf.jca.servant.EJBEndpoint.publish()

                String value = (String)ejbServants.get(theJNDIName);
                EJBServantConfig config = new EJBServantConfig(theJNDIName, value);
                EJBEndpoint ejbEndpoint = new EJBEndpoint(config);
                ejbEndpoint.setEjbServantBaseURL(mcf.getEJBServantBaseURL());
                ejbEndpoint.setWorkManager(getWorkManager());
                Server servant = ejbEndpoint.publish();
               
                synchronized (servantsCache) {
                    if (servant != null) {
                        servantsCache.add(servant);
                    }
View Full Code Here

Examples of org.apache.cxf.wsn.util.WSNHelper.publish()

    public Consumer(Callback callback, String address, Class<?> ... extraClasses) {
        this.callback = callback;
        WSNHelper helper = WSNHelper.getInstance();
        if (helper.supportsExtraClasses()) {
            this.endpoint = helper.publish(address, this, extraClasses);
            this.context = null;
        } else {
            this.endpoint = helper.publish(address, this);
            if (extraClasses != null && extraClasses.length > 0) {
                try {
View Full Code Here

Examples of org.apache.falcon.entity.store.ConfigurationStore.publish()

        switch (type) {
        case CLUSTER:
            Cluster cluster = (Cluster) unmarshaller.unmarshal(this.getClass().getResource(CLUSTER_XML));
            cluster.setName(name);
            ClusterHelper.getInterface(cluster, Interfacetype.WRITE).setEndpoint(conf.get("fs.default.name"));
            store.publish(type, cluster);
            break;

        case FEED:
            Feed feed = (Feed) unmarshaller.unmarshal(this.getClass().getResource(FEED_XML));
            feed.setName(name);
View Full Code Here

Examples of org.apache.felix.ipojo.extender.DeclarationHandle.publish()

        handle.publish();

        DeclarationHandle instance = builder.newInstance("german-service")
                .name("german-hello")
                .build();
        instance.publish();

        System.out.println(instance.getStatus().getMessage());

        String filter = format("(instance.name=%s)", "german-hello");
        osgiHelper.waitForService(HelloService.class, filter, 1000);
View Full Code Here

Examples of org.apache.hedwig.client.api.Publisher.publish()

            assertTrue("Async close subscription should succeed.",
                       closeLatch.await(5, TimeUnit.SECONDS));
            assertTrue("Subscribe should succeed.",
                       subLatch.await(5, TimeUnit.SECONDS));
            // publish a message
            publisher.publish(topic, Message.newBuilder().setBody(topic).build());
            // wait for seconds to receive message
            assertTrue("Message should be received through successful subscription.",
                       deliverLatch.await(5, TimeUnit.SECONDS));
        } finally {
            client.close();
View Full Code Here

Examples of org.apache.ivory.entity.store.ConfigurationStore.publish()

    switch (type) {
    case CLUSTER:
                Cluster cluster = (Cluster) unmarshaller.unmarshal(this.getClass().getResource(CLUSTER_XML));
                cluster.setName(name);
                ClusterHelper.getInterface(cluster, Interfacetype.WRITE).setEndpoint(conf.get("fs.default.name"));
                store.publish(type, cluster);
                break;

            case FEED:
                Feed feed = (Feed) unmarshaller.unmarshal(this.getClass().getResource(FEED_XML));
                feed.setName(name);
View Full Code Here

Examples of org.apache.ivy.Ivy.publish()

                deliver.setConf(conf);

                deliver.execute();
            }

            ivy.publish(
                mrid,
                artifactspattern,
                publishResolverName,
                new PublishOptions()
                        .setPubrevision(getPubrevision())
View Full Code Here

Examples of org.apache.muse.ws.notification.NotificationProducer.publish()

        Situation situation = factory.createSituation();
        situation.setCategoryType(situationCategory);
        event.setSituation(situation);

        NotificationProducer wsn = (NotificationProducer)advertiser.getCapability(WsnConstants.PRODUCER_URI);
        wsn.publish(topicName, event.toXML());
    }
   
    protected void subscribeInitialConsumer()
        throws SoapFault
    {
View Full Code Here

Examples of org.apache.pluto.util.publish.PortletPublishService.publish()

        PortletPublishService publisher =
            PortletPublishServiceFactory.getFactory().createPortletPublishService(config);

        try {
            publisher.publish(config);
        }
        catch(UtilityException ue) {
            throw new MojoExecutionException(ue.getMessage());
        }
    }
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.