/** {@inheritDoc} */ public EndpointImpl newEndpointImpl(Bus bus, Service service, EndpointInfo endpointInfo) throws EndpointException { return new EndpointImpl(bus, service, endpointInfo); }
/** {@inheritDoc} */ public EndpointImpl newEndpointImpl(Bus bus, Service service, EndpointInfo endpointInfo) throws EndpointException { return new EndpointImpl(bus, service, endpointInfo); }
/** {@inheritDoc} */ public EndpointImpl newEndpointImpl(Bus bus, Service service, EndpointInfo endpointInfo) throws EndpointException { return new EndpointImpl(bus, service, endpointInfo); }
/** {@inheritDoc} */ public EndpointImpl newEndpointImpl(Bus bus, Service service, EndpointInfo endpointInfo) throws EndpointException { return new EndpointImpl(bus, service, endpointInfo); }
public static Endpoint createEndpoint(Bus bus, String address, Service service, BindingInfo bindingInfo) throws EndpointException { EndpointInfo endpointInfo = createEndpointInfo(bus, service .getServiceInfos().get(0), bindingInfo, address); EndpointImpl endpoint = new EndpointImpl(bus, service, endpointInfo); return endpoint; }
public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException { Endpoint ep = new EndpointImpl(getBus(), getService(), ei); sendEvent(Event.ENDPOINT_CREATED, ei, ep, getServiceClass()); return ep; }
public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException { Endpoint ep = new EndpointImpl(getBus(), getService(), ei); sendEvent(Event.ENDPOINT_CREATED, ei, ep, getServiceClass()); return ep; }
public Endpoint createEndpoint(EndpointInfo ei) throws EndpointException { Endpoint ep = new EndpointImpl(getBus(), getService(), ei); sendEvent(Event.ENDPOINT_CREATED, ei, ep, getServiceClass()); return ep; }
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param svc * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, Service svc, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param svc * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, Service svc, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param svc * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, Service svc, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param svc * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, Service svc, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
service.setDataBinding(dataBinding); EndpointInfo ei = service.getEndpointInfo(endpointName); Endpoint endpoint = new EndpointImpl(bus, service, ei); client = new ClientImpl(bus, endpoint); } else if (location != null) {
service.setDataBinding(dataBinding); EndpointInfo ei = service.getEndpointInfo(endpointName); Endpoint endpoint = new EndpointImpl(bus, service, ei); client = new ClientImpl(bus, endpoint); } else if (location != null) {
Endpoint ep = new EndpointImpl(getBus(), service, ei);
protected Endpoint createEndpoint() throws BusException, EndpointException { serviceFactory.setServiceBean(serviceBean); if (serviceFactory.getService() == null) { serviceFactory.create(); } EndpointInfo ei = createEndpointInfo(); Endpoint ep = new EndpointImpl(getBus(), getServiceFactory().getService(), ei); if (properties != null) { ep.putAll(properties); } if (getInInterceptors() != null) { ep.getInInterceptors().addAll(getInInterceptors()); } if (getOutInterceptors() != null) { ep.getOutInterceptors().addAll(getOutInterceptors()); } if (getInFaultInterceptors() != null) { ep.getInFaultInterceptors().addAll(getInFaultInterceptors()); } if (getOutFaultInterceptors() != null) { ep.getOutFaultInterceptors().addAll(getOutFaultInterceptors()); } ep.put(ProtobufMessageInInterceptor.IN_MESSAGE_CLASS, messageClass); return ep; }
Endpoint ep = new EndpointImpl(getBus(), service, ei);
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param wsdlUrl * @param service * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, URL wsdlUrl, QName service, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); Service svc = service == null ? bus.getExtension(WSDLServiceFactory.class).create(wsdlUrl) : bus.getExtension(WSDLServiceFactory.class).create(wsdlUrl, service); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
/** * Create a Client that uses a specific EndpointImpl. * @param bus * @param wsdlUrl * @param service * @param port * @param endpointImplFactory */ public ClientImpl(Bus bus, URL wsdlUrl, QName service, QName port, EndpointImplFactory endpointImplFactory) { this.bus = bus; outFaultObserver = new ClientOutFaultObserver(bus); Service svc = service == null ? bus.getExtension(WSDLServiceFactory.class).create(wsdlUrl) : bus.getExtension(WSDLServiceFactory.class).create(wsdlUrl, service); EndpointInfo epfo = findEndpoint(svc, port); try { if (endpointImplFactory != null) { getConduitSelector().setEndpoint(endpointImplFactory.newEndpointImpl(bus, svc, epfo)); } else { getConduitSelector().setEndpoint(new EndpointImpl(bus, svc, epfo)); } } catch (EndpointException epex) { throw new IllegalStateException("Unable to create endpoint: " + epex.getMessage(), epex); } notifyLifecycleManager(); }
ep = new EndpointImpl(getBus(), cxfService, ei); this.ep.putAll(this.getProperties());