org.apache.cxf.transport.udp
Class UDPTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.udp.UDPTransportFactory
- All Implemented Interfaces:
- ConduitInitiator, DestinationFactory
public class UDPTransportFactory
- extends AbstractTransportFactory
- implements DestinationFactory, ConduitInitiator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSPORT_ID
public static final String TRANSPORT_ID
- See Also:
- Constant Field Values
DEFAULT_NAMESPACES
public static final List<String> DEFAULT_NAMESPACES
UDPTransportFactory
public UDPTransportFactory()
getDestination
public Destination getDestination(EndpointInfo ei,
Bus bus)
throws IOException
- Description copied from interface:
DestinationFactory
- Create a destination.
- Specified by:
getDestination
in interface DestinationFactory
- Parameters:
ei
- the endpoint info of the destination.
- Returns:
- the created Destination.
- Throws:
IOException
getDestination
protected Destination getDestination(EndpointInfo ei,
EndpointReferenceType reference,
Bus bus)
throws IOException
- Throws:
IOException
getConduit
public Conduit getConduit(EndpointInfo ei,
Bus bus)
throws IOException
- Description copied from interface:
ConduitInitiator
- Initiate an outbound Conduit.
- Specified by:
getConduit
in interface ConduitInitiator
- Parameters:
ei
- the endpoint info of the target
- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
getConduit
public Conduit getConduit(EndpointInfo ei,
EndpointReferenceType target,
Bus bus)
throws IOException
- Description copied from interface:
ConduitInitiator
- Initiate an outbound Conduit.
- Specified by:
getConduit
in interface ConduitInitiator
- Parameters:
ei
- the endpoint info for a local endpoint on which the
the configuration should be basedtarget
- the target EPR
- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
getUriPrefixes
public Set<String> getUriPrefixes()
- Specified by:
getUriPrefixes
in interface ConduitInitiator
- Specified by:
getUriPrefixes
in interface DestinationFactory
- Overrides:
getUriPrefixes
in class AbstractTransportFactory
setUriPrefixes
public void setUriPrefixes(Set<String> s)
Apache CXF