com.sun.xml.internal.ws.api.server.Invoker Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.server.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: EndpointFactory.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #2
Source File: ProviderInvokerTube.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static <T> ProviderInvokerTube<T> create(final Class<T> implType, final WSBinding binding, final Invoker invoker, final Container container) { final ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding); final ProviderArgumentsBuilder<?> argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); }
Example #3
Source File: EndpointCreationAttributes.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #4
Source File: EndpointFactory.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #5
Source File: EndpointFactory.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #6
Source File: EndpointFactory.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #7
Source File: EndpointFactory.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #8
Source File: ProviderInvokerTube.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static <T> ProviderInvokerTube<T> create(final Class<T> implType, final WSBinding binding, final Invoker invoker, final Container container) { final ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding); final ProviderArgumentsBuilder<?> argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); }
Example #9
Source File: EndpointCreationAttributes.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #10
Source File: EndpointFactory.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #11
Source File: EndpointFactory.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #12
Source File: EndpointCreationAttributes.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #13
Source File: EndpointFactory.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #14
Source File: EndpointFactory.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #15
Source File: EndpointFactory.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #16
Source File: EndpointFactory.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #17
Source File: ProviderInvokerTube.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static <T> ProviderInvokerTube<T> create(final Class<T> implType, final WSBinding binding, final Invoker invoker, final Container container) { final ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding); final ProviderArgumentsBuilder<?> argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); }
Example #18
Source File: EndpointCreationAttributes.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #19
Source File: EndpointFactory.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #20
Source File: EndpointFactory.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #21
Source File: EndpointFactory.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #22
Source File: ProviderInvokerTube.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static <T> ProviderInvokerTube<T> create(final Class<T> implType, final WSBinding binding, final Invoker invoker, final Container container) { final ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding); final ProviderArgumentsBuilder<?> argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); }
Example #23
Source File: EndpointCreationAttributes.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #24
Source File: EndpointFactory.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return createEndpoint(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #25
Source File: EndpointFactory.java From hottub with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #26
Source File: EndpointFactory.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }
Example #27
Source File: ProviderInvokerTube.java From hottub with GNU General Public License v2.0 | 5 votes |
public static <T> ProviderInvokerTube<T> create(final Class<T> implType, final WSBinding binding, final Invoker invoker, final Container container) { final ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding); final ProviderArgumentsBuilder<?> argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); }
Example #28
Source File: EndpointCreationAttributes.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Instantiate this data access object. * * @param processHandlerAnnotation The original processHandlerAnnotation setting. * @param invoker The original Invoker instance. * @param resolver The original EntityResolver instance. * @param isTransportSynchronous The original isTransportSynchronous setting. */ public EndpointCreationAttributes(final boolean processHandlerAnnotation, final Invoker invoker, final EntityResolver resolver, final boolean isTransportSynchronous) { this.processHandlerAnnotation = processHandlerAnnotation; this.invoker = invoker; this.entityResolver = resolver; this.isTransportSynchronous = isTransportSynchronous; }
Example #29
Source File: EndpointFactory.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static <T> WSEndpoint<T> createEndpoint( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous, boolean isStandard) { EndpointFactory factory = container != null ? container.getSPI(EndpointFactory.class) : null; if (factory == null) factory = EndpointFactory.getInstance(); return factory.create( implType,processHandlerAnnotation, invoker,serviceName,portName,container,binding,primaryWsdl,metadata,resolver,isTransportSynchronous,isStandard); }
Example #30
Source File: EndpointFactory.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Implements {@link WSEndpoint#create}. * * No need to take WebServiceContext implementation. When InvokerPipe is * instantiated, it calls InstanceResolver to set up a WebServiceContext. * We shall only take delegate to getUserPrincipal and isUserInRole from adapter. * * <p> * Nobody else should be calling this method. */ public <T> WSEndpoint<T> create( Class<T> implType, boolean processHandlerAnnotation, @Nullable Invoker invoker, @Nullable QName serviceName, @Nullable QName portName, @Nullable Container container, @Nullable WSBinding binding, @Nullable SDDocumentSource primaryWsdl, @Nullable Collection<? extends SDDocumentSource> metadata, EntityResolver resolver, boolean isTransportSynchronous) { return create(implType, processHandlerAnnotation, invoker, serviceName, portName, container, binding, primaryWsdl, metadata, resolver, isTransportSynchronous, true); }