javax.xml.ws.spi.Invoker Java Examples
The following examples show how to use
javax.xml.ws.spi.Invoker.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProviderImpl.java From cxf with Apache License 2.0 | 6 votes |
public Endpoint createEndpoint(String bindingId, Class<?> implementorClass, Invoker invoker, WebServiceFeature ... features) { if (EndpointUtils.isValidImplementor(implementorClass)) { Bus bus = BusFactory.getThreadDefaultBus(); JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean(); if (features != null) { factory.getJaxWsServiceFactory().setWsFeatures(Arrays.asList(features)); } if (invoker != null) { factory.setInvoker(new JAXWSMethodInvoker(invoker)); try { invoker.inject(new WebServiceContextImpl()); } catch (Exception e) { throw new WebServiceException(new Message("ENDPOINT_CREATION_FAILED_MSG", LOG).toString(), e); } } EndpointImpl ep = new EndpointImpl(bus, null, factory); ep.setImplementorClass(implementorClass); return ep; } throw new WebServiceException(new Message("INVALID_IMPLEMENTOR_EXC", LOG).toString()); }
Example #2
Source File: ProviderImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #3
Source File: ProviderImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #4
Source File: ProviderImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #5
Source File: ProviderImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #6
Source File: ProviderImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #7
Source File: ProviderImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #8
Source File: ProviderImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }
Example #9
Source File: ProviderImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public Endpoint createEndpoint(String bindingId, Class implementorClass, Invoker invoker, WebServiceFeature... features) { return new EndpointImpl( (bindingId != null) ? BindingID.parse(bindingId) : BindingID.parse(implementorClass), implementorClass, invoker, features); }