com.sun.xml.ws.rx.rm.runtime
Class RmTubeFactory

java.lang.Object
  extended by com.sun.xml.ws.rx.rm.runtime.RmTubeFactory
All Implemented Interfaces:
TubeFactory

public final class RmTubeFactory
extends Object
implements 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:
ReliableMessagingFeature

Constructor Summary
RmTubeFactory()
           
 
Method Summary
 Tube createTube(ClientTubelineAssemblyContext context)
          Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not.
 Tube createTube(ServerTubelineAssemblyContext context)
          Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmTubeFactory

public RmTubeFactory()
Method Detail

createTube

public Tube createTube(ClientTubelineAssemblyContext context)
                throws WebServiceException
Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not.

Specified by:
createTube in interface TubeFactory
Parameters:
context - Metro client tubeline assembler context
Returns:
new tail of the client-side tubeline
Throws:
WebServiceException

createTube

public Tube createTube(ServerTubelineAssemblyContext context)
                throws WebServiceException
Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not.

Specified by:
createTube in interface TubeFactory
Parameters:
context - Metro service tubeline assembler context
Returns:
new head of the service-side tubeline
Throws:
WebServiceException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.