/** * This no-op PolicyInterceptorProvider prevents the policy enforcement * logic making it impossible to assert the HTTPClientPolicy upfront * before the HTTPConduit becomes involved (e.g. via a WSPolicyFeature * applied to the <jaxws:client> bean). */ @NoJSR250Annotations public class NoOpPolicyInterceptorProvider extends AbstractPolicyInterceptorProvider { private static final long serialVersionUID = -5554625221910391930L; private static final Collection<QName> ASSERTION_TYPES; private static final QName HTTP_CONF_NAME = new QName("http://cxf.apache.org/transports/http/configuration", "client"); static { Collection<QName> types = new ArrayList<>(); types.add(HTTP_CONF_NAME); ASSERTION_TYPES = types; } public NoOpPolicyInterceptorProvider() { super(ASSERTION_TYPES); } }
@NoJSR250Annotations(unlessNull = "bus") public class WebServiceContextResourceResolver implements ResourceResolver {
@NoJSR250Annotations public static class SpringEndpointImpl extends EndpointImpl implements ApplicationContextAware { boolean checkBlockConstruct; public SpringEndpointImpl(Object o) { super(o instanceof Bus ? (Bus)o : null, o instanceof Bus ? null : o); } public SpringEndpointImpl(Bus bus, Object implementor) { super(bus, implementor); } public void setCheckBlockConstruct(Boolean b) { checkBlockConstruct = b; } public void setApplicationContext(ApplicationContext ctx) throws BeansException { if (checkBlockConstruct) { setBlocking(ctx, this); } if (getBus() == null) { setBus(BusWiringBeanFactoryPostProcessor.addDefaultBus(ctx)); } } }
@NoJSR250Annotations public final class HTTPWSDLExtensionLoader implements WSDLExtensionLoader {
@NoJSR250Annotations public static class BPJaxWsServerFactoryBean extends JaxWsServerFactoryBean { private Server server; public BPJaxWsServerFactoryBean() { super(); } public BPJaxWsServerFactoryBean(JaxWsServiceFactoryBean fact) { super(fact); } public Server getServer() { return server; } public void init() { create(); } @Override public Server create() { if (server == null) { server = super.create(); } return server; } public void destroy() { if (server != null) { server.destroy(); server = null; } } }
@NoJSR250Annotations public static class SpringServerFactoryBean extends JaxWsServerFactoryBean implements ApplicationContextAware {
@NoJSR250Annotations public class HTTPServerAssertionBuilder extends JaxbAssertionBuilder<HTTPServerPolicy> { public static final List<QName> KNOWN_ELEMENTS
@NoJSR250Annotations public class HTTPClientAssertionBuilder extends JaxbAssertionBuilder<HTTPClientPolicy> { public static final List<QName> KNOWN_ELEMENTS
@NoJSR250Annotations public static class JAXWSSpringClientProxyFactoryBean extends JaxWsProxyFactoryBean implements ApplicationContextAware, FactoryBean<Object>, DisposableBean {
@NoJSR250Annotations public final class Address {
@NoJSR250Annotations public class CertConstraintsFeature extends AbstractFeature { CertificateConstraintsType contraints;
@NoJSR250Annotations public class JaxWsProxyFactoryBean extends ClientProxyFactoryBean { @SuppressWarnings("rawtypes")
@NoJSR250Annotations public class HTTPTransportFactory extends AbstractTransportFactory
@NoJSR250Annotations public class JaxWsServiceFactoryBean extends ReflectionServiceFactoryBean {
@NoJSR250Annotations public abstract class HTTPConduit extends AbstractConduit
@NoJSR250Annotations() public class NettyHttpDestinationFactory implements HttpDestinationFactory { public NettyHttpDestinationFactory() { io.netty.util.Version.identify(); } public AbstractHTTPDestination createDestination(EndpointInfo endpointInfo, Bus bus, DestinationRegistry registry) throws IOException { NettyHttpServerEngineFactory serverEngineFactory = bus .getExtension(NettyHttpServerEngineFactory.class); return new NettyHttpDestination(bus, registry, endpointInfo, serverEngineFactory); } }
@NoJSR250Annotations() public class JettyDestinationFactory implements HttpDestinationFactory { public AbstractHTTPDestination createDestination(EndpointInfo endpointInfo, Bus bus, DestinationRegistry registry) throws IOException { JettyHTTPServerEngineFactory serverEngineFactory = bus .getExtension(JettyHTTPServerEngineFactory.class); return new JettyHTTPDestination(bus, registry, endpointInfo, serverEngineFactory); } }
@NoJSR250Annotations() public class JettyDestinationFactory implements HttpDestinationFactory { public AbstractHTTPDestination createDestination(EndpointInfo endpointInfo, Bus bus, DestinationRegistry registry) throws IOException { JettyHTTPServerEngineFactory serverEngineFactory = bus .getExtension(JettyHTTPServerEngineFactory.class); return new JettyHTTPDestination(bus, registry, endpointInfo, serverEngineFactory); } }
@NoJSR250Annotations() public class UndertowDestinationFactory implements HttpDestinationFactory { public AbstractHTTPDestination createDestination(EndpointInfo endpointInfo, Bus bus, DestinationRegistry registry) throws IOException { UndertowHTTPServerEngineFactory serverEngineFactory = bus .getExtension(UndertowHTTPServerEngineFactory.class); return new UndertowHTTPDestination(bus, registry, endpointInfo, serverEngineFactory); } }
@NoJSR250Annotations() public class JettyDestinationFactory implements HttpDestinationFactory { public AbstractHTTPDestination createDestination(EndpointInfo endpointInfo, Bus bus, DestinationRegistry registry) throws IOException { JettyHTTPServerEngineFactory serverEngineFactory = bus .getExtension(JettyHTTPServerEngineFactory.class); return new JettyHTTPDestination(bus, registry, endpointInfo, serverEngineFactory); } }