Package com.sun.xml.ws.rx.rm.runtime
Class RmTubeFactory
java.lang.Object
com.sun.xml.ws.rx.rm.runtime.RmTubeFactory
- All Implemented Interfaces:
TubeFactory
This factory class is responsible for instantiating RM tubes based on
the actual configuration of a RM web services feature.
- Author:
- Marek Potociar (marek.potociar at sun.com)
- See Also:
-
Constructor Summary
-
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
-
RmTubeFactory
public RmTubeFactory()
-
-
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
-