public class MetroTubelineAssembler extends Object implements TubelineAssembler
Modifier and Type | Field and Description |
---|---|
static MetroConfigNameImpl |
JAXWS_TUBES_CONFIG_NAMES |
Constructor and Description |
---|
MetroTubelineAssembler(BindingID bindingId,
MetroConfigName metroConfigName) |
Modifier and Type | Method and Description |
---|---|
Tube |
createClient(ClientTubeAssemblerContext jaxwsContext)
Creates a new tubeline for clients.
|
protected DefaultClientTubelineAssemblyContext |
createClientContext(ClientTubeAssemblerContext jaxwsContext) |
Tube |
createServer(ServerTubeAssemblerContext jaxwsContext)
Creates a new tubeline for servers.
|
protected DefaultServerTubelineAssemblyContext |
createServerContext(ServerTubeAssemblerContext jaxwsContext) |
(package private) TubelineAssemblyController |
getTubelineAssemblyController() |
public static final MetroConfigNameImpl JAXWS_TUBES_CONFIG_NAMES
public MetroTubelineAssembler(BindingID bindingId, MetroConfigName metroConfigName)
TubelineAssemblyController getTubelineAssemblyController()
@NotNull public Tube createClient(@NotNull ClientTubeAssemblerContext jaxwsContext)
TubelineAssembler
When a JAX-WS client creates a proxy or a Dispatch
from
a Service
, JAX-WS runtime internally uses this method
to create a new tubeline as a part of the initilization.
createClient
in interface TubelineAssembler
jaxwsContext
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.@NotNull public Tube createServer(@NotNull ServerTubeAssemblerContext jaxwsContext)
TubelineAssembler
When a JAX-WS server deploys a new endpoint, it internally uses this method to create a new tubeline as a part of the initialization.
Note that this method is called only once to set up a
'master tubeline', and it gets copied
from it.
createServer
in interface TubelineAssembler
jaxwsContext
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.protected DefaultServerTubelineAssemblyContext createServerContext(ServerTubeAssemblerContext jaxwsContext)
protected DefaultClientTubelineAssemblyContext createClientContext(ClientTubeAssemblerContext jaxwsContext)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.