Java Code Examples for com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter#adapt()
The following examples show how to use
com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter#adapt() .
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: ServerTubeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 2
Source File: TubelineAssemblerFactory.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@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)); }
Example 3
Source File: TubelineAssemblerFactory.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@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)); }
Example 4
Source File: TubelineAssemblerFactory.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@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)); }
Example 5
Source File: TubelineAssemblyContextImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@Override public Pipe getAdaptedTubelineHead() { if (adaptedHead == null) { adaptedHead = PipeAdapter.adapt(head); } return adaptedHead; }
Example 6
Source File: ClientTubeAssemblerContext.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 7
Source File: ServerTubeAssemblerContext.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 8
Source File: TubelineAssemblyContextImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@Override public Pipe getAdaptedTubelineHead() { if (adaptedHead == null) { adaptedHead = PipeAdapter.adapt(head); } return adaptedHead; }
Example 9
Source File: ServerPipeAssemblerContext.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * Creates a {@link Pipe} that adds container specific security */ public @NotNull Pipe createSecurityPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createSecurityTube(PipeAdapter.adapt(next))); }
Example 10
Source File: ClientPipeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * 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))); }
Example 11
Source File: ClientPipeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * creates a {@link Pipe} that validates messages against schema */ public Pipe createValidationPipe(Pipe next) { return PipeAdapter.adapt(super.createValidationTube(PipeAdapter.adapt(next))); }
Example 12
Source File: ServerPipeAssemblerContext.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * Creates a {@link Pipe} that adds container specific security */ public @NotNull Pipe createSecurityPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createSecurityTube(PipeAdapter.adapt(next))); }
Example 13
Source File: ServerPipeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * creates a {@link Pipe} that validates messages against schema */ public @NotNull Pipe createValidationPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createValidationTube(PipeAdapter.adapt(next))); }
Example 14
Source File: ClientPipeAssemblerContext.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * Creates a {@link Pipe} that invokes protocol and logical handlers. */ public Pipe createHandlerPipe(Pipe next) { return PipeAdapter.adapt(super.createHandlerTube(PipeAdapter.adapt(next))); }
Example 15
Source File: ClientPipeAssemblerContext.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * Creates a {@link Pipe} that invokes protocol and logical handlers. */ public Pipe createHandlerPipe(Pipe next) { return PipeAdapter.adapt(super.createHandlerTube(PipeAdapter.adapt(next))); }
Example 16
Source File: ClientPipeAssemblerContext.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Creates a {@link Pipe} that performs SOAP mustUnderstand processing. * This pipe should be before HandlerPipes. */ public Pipe createClientMUPipe(Pipe next) { return PipeAdapter.adapt(super.createClientMUTube(PipeAdapter.adapt(next))); }
Example 17
Source File: ClientPipeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Creates a {@link Pipe} that performs WS-Addressig processing. * This pipe should be before {@link com.sun.xml.internal.ws.protocol.soap.ClientMUTube}. */ public Pipe createWsaPipe(Pipe next) { return PipeAdapter.adapt(super.createWsaTube(PipeAdapter.adapt(next))); }
Example 18
Source File: ServerPipeAssemblerContext.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Creates a {@link Pipe} that performs SOAP mustUnderstand processing. * This pipe should be before HandlerPipes. */ public @NotNull Pipe createServerMUPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createServerMUTube(PipeAdapter.adapt(next))); }
Example 19
Source File: ServerPipeAssemblerContext.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Creates a {@link Pipe} that does the monitoring of the invocation for a * container */ public @NotNull Pipe createMonitoringPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createMonitoringTube(PipeAdapter.adapt(next))); }
Example 20
Source File: ServerPipeAssemblerContext.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Creates a {@link Pipe} that does the monitoring of the invocation for a * container */ public @NotNull Pipe createMonitoringPipe(@NotNull Pipe next) { return PipeAdapter.adapt(super.createMonitoringTube(PipeAdapter.adapt(next))); }