FileDocCategorySizeDatePackage
RMProvider.javaAPI DocExample5763Tue May 29 16:56:42 BST 2007com.sun.xml.ws.rm.jaxws.runtime

RMProvider

public abstract class RMProvider extends Object
RMProvider is a base class for RMSource and RMDestination that provides storage for Lists of InboundSequences and OutboundSequences and handles the processing of messages coming from the network.

Fields Summary
protected com.sun.xml.ws.rm.jaxws.util.ProcessingFilter
filter
protected Hashtable
outboundMap
protected Hashtable
inboundMap
protected InboundMessageProcessor
messageProcessor
Constructors Summary
public RMProvider()

    
         
      
    
Methods Summary
public InboundMessageProcessorgetInboundMessageProcessor()

        return messageProcessor;
    
public INBOUNDSEQUENCEgetInboundSequence(java.lang.String id)
Look up OutboundSequence with given id.

param
The sequence id

        return inboundMap.get(id);
    
public OUTBOUNDSEQUENCEgetOutboundSequence(java.lang.String id)
Look up OutboundSequence with given id.

param
The sequence id

    
                   
        
        return outboundMap.get(id);
    
public com.sun.xml.ws.rm.jaxws.util.ProcessingFiltergetProcessingFilter()
Returns the ProcessingFilter instance that has been designated for use for diagnostic/debugging purposes.

return
The filter that has been set by calling setProcessingFilter. Returns null if no ProcessingFilter has been set.

        return filter;
    
public voidprocessInboundMessage(com.sun.xml.ws.rm.Message mess, javax.xml.bind.Marshaller marshaller, javax.xml.bind.Unmarshaller unmarshaller)

    
    /*
     * Process normal application message using <code>InboundMessageProcessor</code>
     * field.
     *
     * @param mess The inbound message.
     *
    */
        
                                     
                                       
        messageProcessor.processMessage(mess, marshaller, unmarshaller);
    
public voidsetProcessingFilter(com.sun.xml.ws.rm.jaxws.util.ProcessingFilter filter)
Sets and instance of ProcessingFilter to be used for diagnostic/debugging purposes.

param
filter The ProcessingFilter to be used.

        this.filter = filter;