本文整理汇总了Java中com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter类的典型用法代码示例。如果您正苦于以下问题:Java PipeAdapter类的具体用法?Java PipeAdapter怎么用?Java PipeAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PipeAdapter类属于com.sun.xml.internal.ws.api.pipe.helper包,在下文中一共展示了PipeAdapter类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: createClient
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
@Override
public @NotNull Tube createClient(@NotNull ClientTubeAssemblerContext context) {
ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext(
context.getAddress(), context.getWsdlModel(), context.getService(),
context.getBinding(), context.getContainer());
return PipeAdapter.adapt(assembler.createClient(ctxt));
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:TubelineAssemblerFactory.java
示例2: createServer
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
@Override
public @NotNull Tube createServer(@NotNull ServerTubeAssemblerContext context) {
if (!(context instanceof ServerPipeAssemblerContext)) {
throw new IllegalArgumentException("{0} is not instance of ServerPipeAssemblerContext");
}
return PipeAdapter.adapt(assembler.createServer((ServerPipeAssemblerContext) context));
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:TubelineAssemblerFactory.java
示例3: createMonitoringTube
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
/**
* Creates a {@link Tube} that does the monitoring of the invocation for a
* container
*/
public @NotNull Tube createMonitoringTube(@NotNull Tube next) {
ServerPipelineHook hook = endpoint.getContainer().getSPI(ServerPipelineHook.class);
if (hook != null) {
ServerPipeAssemblerContext ctxt = new ServerPipeAssemblerContext(seiModel, wsdlModel, endpoint, terminal, isSynchronous);
return PipeAdapter.adapt(hook.createMonitoringPipe(ctxt, PipeAdapter.adapt(next)));
}
return next;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:ServerTubeAssemblerContext.java
示例4: createSecurityTube
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
/**
* Creates a {@link Tube} that adds container specific security
*/
public @NotNull Tube createSecurityTube(@NotNull Tube next) {
ServerPipelineHook hook = endpoint.getContainer().getSPI(ServerPipelineHook.class);
if (hook != null) {
ServerPipeAssemblerContext ctxt = new ServerPipeAssemblerContext(seiModel, wsdlModel, endpoint, terminal, isSynchronous);
return PipeAdapter.adapt(hook.createSecurityPipe(ctxt, PipeAdapter.adapt(next)));
}
return next;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:12,代码来源:ServerTubeAssemblerContext.java
示例5: createSecurityTube
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
/**
* Creates a {@link Tube} that adds container specific security
*/
public @NotNull Tube createSecurityTube(@NotNull Tube next) {
ClientPipelineHook hook = container.getSPI(ClientPipelineHook.class);
if (hook != null) {
ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext(address, wsdlModel,
rootOwner, binding, container);
return PipeAdapter.adapt(hook.createSecurityPipe(ctxt, PipeAdapter.adapt(next)));
}
return next;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:13,代码来源:ClientTubeAssemblerContext.java
示例6: getAdaptedTubelineHead
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
@Override
public Pipe getAdaptedTubelineHead() {
if (adaptedHead == null) {
adaptedHead = PipeAdapter.adapt(head);
}
return adaptedHead;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:TubelineAssemblyContextImpl.java
示例7: createDumpPipe
import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; //导入依赖的package包/类
/**
* creates a {@link Pipe} that dumps messages that pass through.
*/
public Pipe createDumpPipe(String name, PrintStream out, Pipe next) {
return PipeAdapter.adapt(super.createDumpTube(name, out, PipeAdapter.adapt(next)));
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:ServerPipeAssemblerContext.java
注:本文中的com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论