Package com.sun.xml.ws.rx.mc.runtime
Class McTubeFactory
- java.lang.Object
-
- com.sun.xml.ws.rx.mc.runtime.McTubeFactory
-
- All Implemented Interfaces:
TubeFactory
public final class McTubeFactory extends Object implements TubeFactory
This factory class is responsible for instantiating RX tubes based on the actual configuration of RX-related web services features.- Author:
- Marek Potociar (marek.potociar at sun.com)
- See Also:
ReliableMessagingFeature,MakeConnectionSupportedFeature
-
-
Constructor Summary
Constructors Constructor Description McTubeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TubecreateTube(ClientTubelineAssemblyContext context)Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not.TubecreateTube(ServerTubelineAssemblyContext context)Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not.
-
-
-
Method Detail
-
createTube
public Tube createTube(ClientTubelineAssemblyContext context) throws javax.xml.ws.WebServiceException
Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not.- Specified by:
createTubein interfaceTubeFactory- Parameters:
context- Metro client tubeline assembler context- Returns:
- new tail of the client-side tubeline
- Throws:
javax.xml.ws.WebServiceException
-
createTube
public Tube createTube(ServerTubelineAssemblyContext context) throws javax.xml.ws.WebServiceException
Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not.- Specified by:
createTubein interfaceTubeFactory- Parameters:
context- Metro service tubeline assembler context- Returns:
- new head of the service-side tubeline
- Throws:
javax.xml.ws.WebServiceException
-
-