public class HTTPTransportFactory extends AbstractTransportFactory implements WSDLEndpointFactory, ConduitInitiator, DestinationFactory
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAULT_NAMESPACES |
protected DestinationRegistry |
registry |
bus| Constructor and Description |
|---|
HTTPTransportFactory() |
HTTPTransportFactory(Bus b) |
HTTPTransportFactory(Bus b,
DestinationRegistry registry) |
HTTPTransportFactory(DestinationRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(Object bean)
This call uses the Configurer from the bus to configure
a bean.
|
protected void |
configure(Object bean,
String name,
String extraName) |
EndpointInfo |
createEndpointInfo(ServiceInfo serviceInfo,
BindingInfo b,
List<?> ees) |
void |
createPortExtensors(EndpointInfo ei,
Service service) |
protected HTTPConduitFactory |
findFactory(EndpointInfo endpointInfo) |
Conduit |
getConduit(EndpointInfo endpointInfo)
This call creates a new HTTPConduit for the endpoint.
|
Conduit |
getConduit(EndpointInfo endpointInfo,
EndpointReferenceType target)
This call creates a new HTTP Conduit based on the EndpointInfo and
EndpointReferenceType.
|
Destination |
getDestination(EndpointInfo endpointInfo)
Create a destination.
|
DestinationRegistry |
getRegistry() |
Set<String> |
getUriPrefixes() |
void |
setActivationNamespaces(Collection<String> ans)
This call is used by CXF ExtensionManager to inject the activationNamespaces
|
void |
setBus(Bus b) |
getBus, getTransportIds, register, setTransportIds, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransportIdsgetTransportIdsprotected final DestinationRegistry registry
public HTTPTransportFactory()
public HTTPTransportFactory(Bus b)
public HTTPTransportFactory(Bus b, DestinationRegistry registry)
public HTTPTransportFactory(DestinationRegistry registry)
public void setBus(Bus b)
setBus in class AbstractTransportFactorypublic DestinationRegistry getRegistry()
public void setActivationNamespaces(Collection<String> ans)
ans - The transport ids.public EndpointInfo createEndpointInfo(ServiceInfo serviceInfo, BindingInfo b, List<?> ees)
createEndpointInfo in interface WSDLEndpointFactorypublic void createPortExtensors(EndpointInfo ei, Service service)
createPortExtensors in interface WSDLEndpointFactorypublic Set<String> getUriPrefixes()
getUriPrefixes in interface ConduitInitiatorgetUriPrefixes in interface DestinationFactorygetUriPrefixes in class AbstractTransportFactoryprotected void configure(Object bean)
bean - public Conduit getConduit(EndpointInfo endpointInfo) throws IOException
getConduit in interface ConduitInitiatorendpointInfo - the endpoint info of the targetIOExceptionpublic Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target) throws IOException
getConduit in interface ConduitInitiatorendpointInfo - the endpoint info for a local endpoint on which the
the configuration should be basedtarget - the target EPRIOExceptionprotected HTTPConduitFactory findFactory(EndpointInfo endpointInfo)
public Destination getDestination(EndpointInfo endpointInfo) throws IOException
DestinationFactorygetDestination in interface DestinationFactoryendpointInfo - the endpoint info of the destination.IOExceptionApache CXF