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
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTube
(ClientTubelineAssemblyContext context) Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not.createTube
(ServerTubelineAssemblyContext context) Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not.
-
Constructor Details
-
McTubeFactory
public McTubeFactory()
-
-
Method Details
-
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:
createTube
in 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:
createTube
in interfaceTubeFactory
- Parameters:
context
- Metro service tubeline assembler context- Returns:
- new head of the service-side tubeline
- Throws:
javax.xml.ws.WebServiceException
-