本文整理汇总了Java中com.sun.xml.internal.ws.api.server.Invoker类的典型用法代码示例。如果您正苦于以下问题:Java Invoker类的具体用法?Java Invoker怎么用?Java Invoker使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Invoker类属于com.sun.xml.internal.ws.api.server包,在下文中一共展示了Invoker类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: EndpointCreationAttributes
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
/**
* 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;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:18,代码来源:EndpointCreationAttributes.java
示例2: createEndpoint
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
/**
* 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);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:21,代码来源:EndpointFactory.java
示例3: create
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
/**
* 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);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:23,代码来源:EndpointFactory.java
示例4: create
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
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);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:ProviderInvokerTube.java
示例5: SEIInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
public SEIInvokerTube(AbstractSEIModelImpl model,Invoker invoker, WSBinding binding) {
super(invoker);
this.binding = binding;
this.model = model;
wsdlOpMap = new QNameMap<EndpointMethodHandler>();
for(JavaMethodImpl jm: model.getJavaMethods()) {
wsdlOpMap.put(jm.getOperation().getName(),new EndpointMethodHandler(this,jm,binding));
}
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:10,代码来源:SEIInvokerTube.java
示例6: create
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
public static <T> ProviderInvokerTube<T>
create(Class<T> implType, WSBinding binding, Invoker invoker) {
ProviderEndpointModel<T> model = new ProviderEndpointModel<T>(implType, binding);
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 model.isAsync ? new AsyncProviderInvokerTube(invoker, argsBuilder)
: new SyncProviderInvokerTube(invoker, argsBuilder);
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:14,代码来源:ProviderInvokerTube.java
示例7: SEIInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
public SEIInvokerTube(AbstractSEIModelImpl model,Invoker invoker, WSBinding binding) {
super(invoker);
this.binding = binding;
this.model = model;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:SEIInvokerTube.java
示例8: createSEIInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
protected EndpointAwareTube createSEIInvokerTube(AbstractSEIModelImpl seiModel, Invoker invoker, WSBinding binding) {
return new SEIInvokerTube(seiModel,invoker,binding);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:EndpointFactory.java
示例9: createProviderInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
protected <T> EndpointAwareTube createProviderInvokerTube(final Class<T> implType, final WSBinding binding,
final Invoker invoker, final Container container) {
return ProviderInvokerTube.create(implType, binding, invoker, container);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:EndpointFactory.java
示例10: AsyncProviderInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
public AsyncProviderInvokerTube(Invoker invoker, ProviderArgumentsBuilder<T> argsBuilder) {
super(invoker, argsBuilder);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:AsyncProviderInvokerTube.java
示例11: SyncProviderInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
public SyncProviderInvokerTube(Invoker invoker, ProviderArgumentsBuilder<T> argsBuilder) {
super(invoker, argsBuilder);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:SyncProviderInvokerTube.java
示例12: ProviderInvokerTube
import com.sun.xml.internal.ws.api.server.Invoker; //导入依赖的package包/类
ProviderInvokerTube(Invoker invoker, ProviderArgumentsBuilder<T> argsBuilder) {
super(invoker);
this.argsBuilder = argsBuilder;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:ProviderInvokerTube.java
注:本文中的com.sun.xml.internal.ws.api.server.Invoker类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论