public class WebSocketTransportFactory extends AbstractTransportFactory implements ConduitInitiator, DestinationFactory
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_NAMESPACES |
protected HttpDestinationFactory |
factory |
protected DestinationRegistry |
registry |
Constructor and Description |
---|
WebSocketTransportFactory() |
WebSocketTransportFactory(DestinationRegistry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(Bus b,
Object bean)
This call uses the Configurer from the bus to configure
a bean.
|
protected void |
configure(Bus bus,
Object bean,
String name,
String extraName) |
Conduit |
getConduit(EndpointInfo endpointInfo,
Bus b)
Initiate an outbound Conduit.
|
Conduit |
getConduit(EndpointInfo endpointInfo,
EndpointReferenceType target,
Bus bus)
Initiate an outbound Conduit.
|
Destination |
getDestination(EndpointInfo endpointInfo,
Bus bus)
Create a destination.
|
DestinationRegistry |
getRegistry() |
Set<String> |
getUriPrefixes() |
getTransportIds, setTransportIds
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransportIds
getTransportIds
protected final DestinationRegistry registry
protected final HttpDestinationFactory factory
public WebSocketTransportFactory()
public WebSocketTransportFactory(DestinationRegistry registry)
public DestinationRegistry getRegistry()
protected void configure(Bus b, Object bean)
bean
- public Conduit getConduit(EndpointInfo endpointInfo, Bus b) throws IOException
ConduitInitiator
getConduit
in interface ConduitInitiator
endpointInfo
- the endpoint info of the targetIOException
public Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target, Bus bus) throws IOException
getConduit
in interface ConduitInitiator
endpointInfo
- the endpoint info for a local endpoint on which the
the configuration should be basedtarget
- the target EPRIOException
public Destination getDestination(EndpointInfo endpointInfo, Bus bus) throws IOException
getDestination
in interface DestinationFactory
endpointInfo
- the endpoint info of the destination.IOException
public Set<String> getUriPrefixes()
getUriPrefixes
in interface ConduitInitiator
getUriPrefixes
in interface DestinationFactory
getUriPrefixes
in class AbstractTransportFactory
Apache CXF