Examples of createEndpoint()


Examples of com.sun.xml.internal.ws.api.config.management.ManagedEndpointFactory.createEndpoint()

        final Iterator<ManagedEndpointFactory> managementFactories = ServiceFinder.find(ManagedEndpointFactory.class).iterator();
        if (managementFactories.hasNext()) {
            final ManagedEndpointFactory managementFactory = managementFactories.next();
            final EndpointCreationAttributes attributes = new EndpointCreationAttributes(
                    processHandlerAnnotation, invoker, resolver, isTransportSynchronous);
            return managementFactory.createEndpoint(endpoint, attributes);
        }

        return endpoint;
    }
View Full Code Here

Examples of com.sun.xml.ws.api.config.management.ManagedEndpointFactory.createEndpoint()

        final Iterator<ManagedEndpointFactory> managementFactories = ServiceFinder.find(ManagedEndpointFactory.class).iterator();
        if (managementFactories.hasNext()) {
            final ManagedEndpointFactory managementFactory = managementFactories.next();
            final EndpointCreationAttributes attributes = new EndpointCreationAttributes(
                    processHandlerAnnotation, invoker, resolver, isTransportSynchronous);
            return managementFactory.createEndpoint(endpoint, attributes);
        }

        return endpoint;
    }
View Full Code Here

Examples of io.fabric8.camel.facade.mbean.CamelContextMBean.createEndpoint()

  protected void createEndpoint(String uri) {
    if (!Strings.isBlank(uri)) {
      try {
        // TODO when there is a method on the facade do it...
        CamelContextMBean mbean = getCamelContextNode().getCamelContextMBean();
        mbean.createEndpoint(uri);
       
        Display.getDefault().syncExec(new Runnable() {
          public void run() {
            refresh();
          }
View Full Code Here

Examples of javax.resource.spi.endpoint.MessageEndpointFactory.createEndpoint()

      XAResource xaResource = null;

      if (activation.isDeliveryTransacted() && xaSession != null)
         xaResource = xaSession.getXAResource();

      endpoint = endpointFactory.createEndpoint(xaResource);

      // Set the message listener
      session.setMessageListener(this);
   }
View Full Code Here

Examples of javax.resource.spi.endpoint.MessageEndpointFactory.createEndpoint()

      // Create the endpoint, if we are transacted pass the sesion so it is enlisted, unless using Local TX
      MessageEndpointFactory endpointFactory = activation.getMessageEndpointFactory();
      useLocalTx = !activation.isDeliveryTransacted() && activation.getActivationSpec().isUseLocalTx();
      if (activation.isDeliveryTransacted() && !activation.getActivationSpec().isUseLocalTx())
      {
         endpoint = endpointFactory.createEndpoint(session);
      }
      else
      {
         endpoint = endpointFactory.createEndpoint(null);
      }
View Full Code Here

Examples of javax.resource.spi.endpoint.MessageEndpointFactory.createEndpoint()

      {
         endpoint = endpointFactory.createEndpoint(session);
      }
      else
      {
         endpoint = endpointFactory.createEndpoint(null);
      }
      consumer.setMessageHandler(this);
   }

   /**
 
View Full Code Here

Examples of javax.resource.spi.endpoint.MessageEndpointFactory.createEndpoint()

      MessageEndpointFactory endpointFactory = activation.getMessageEndpointFactory();
      useLocalTx = !activation.isDeliveryTransacted() && activation.getActivationSpec().isUseLocalTx();
      transacted = activation.isDeliveryTransacted();
      if (activation.isDeliveryTransacted() && !activation.getActivationSpec().isUseLocalTx())
      {
         endpoint = endpointFactory.createEndpoint(session);
      }
      else
      {
         endpoint = endpointFactory.createEndpoint(null);
      }
View Full Code Here

Examples of javax.resource.spi.endpoint.MessageEndpointFactory.createEndpoint()

      {
         endpoint = endpointFactory.createEndpoint(session);
      }
      else
      {
         endpoint = endpointFactory.createEndpoint(null);
      }
      consumer.setMessageHandler(this);
   }

   /**
 
View Full Code Here

Examples of javax.ws.rs.ext.RuntimeDelegate.createEndpoint()

   
    protected ApplicationServer() throws Exception {
        PersonApplication application = new PersonApplication();
        RuntimeDelegate delegate = RuntimeDelegate.getInstance();

        JAXRSServerFactoryBean bean = delegate.createEndpoint(application, JAXRSServerFactoryBean.class);
        bean.setAddress("http://localhost:8080/services" + bean.getAddress());
        server = bean.create();
        server.start();
    }
View Full Code Here

Examples of org.activiti.camel.ActivitiComponent.createEndpoint()

    // to verify the behavior of our route later.
    ActivitiComponent activitiComponent = mock(ActivitiComponent.class);
    ActivitiEndpoint activitiEndpoint = mock(ActivitiEndpoint.class);
    when(activitiEndpoint.getEndpointKey()).thenReturn("activiti:open-account");
    when(activitiEndpoint.getEndpointUri()).thenReturn("activiti:open-account");
    when(activitiComponent.createEndpoint(anyString())).thenReturn(activitiEndpoint);
    when(activitiComponent.getCamelContext()).thenReturn(context);
    when(activitiEndpoint.getCamelContext()).thenReturn(context);
    activitiProducer = mock(ActivitiProducer.class);
    // This is the slightly tricky part, we need some kind of feedback when the
    // activiti-camel component's producer is invoked. This will let us know that
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.