soaprmi.soaprpc
Class SoapDispatcherImpl

java.lang.Object
  extended bysoaprmi.soaprpc.SoapDispatcherImpl
All Implemented Interfaces:
Dispatcher, SoapDispatcher
Direct Known Subclasses:
HttpSocketSoapDispatcher, SoapServletDispatcher

public abstract class SoapDispatcherImpl
extends java.lang.Object
implements SoapDispatcher

Implementation of SOAP services.

Version:
$Revision: 1.13 $
Author:
Aleksander Slominski

Constructor Summary
SoapDispatcherImpl()
           
 
Method Summary
 Endpoint createEndpoint(Port port, java.lang.Object impl, XmlJavaMapping defaultMapping)
           
 boolean dispatch(java.io.Reader reader, java.io.Writer writer, java.util.Map bag)
          Unpacks the SOAP packet from reader, assembles a call, executes it and returns the serialized SOAP packet in the writer stream.
 boolean dispatchToService(DeserializeContext dctx, org.gjt.xpp.XmlStartTag stag, java.io.Writer writer, java.util.Map bag)
           
 java.lang.Object findObject(Port port)
           
 java.lang.String getLocation()
           
 void removeEndpoint(Endpoint epoint)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapDispatcherImpl

public SoapDispatcherImpl()
Method Detail

createEndpoint

public Endpoint createEndpoint(Port port,
                               java.lang.Object impl,
                               XmlJavaMapping defaultMapping)
                        throws ServerException,
                               AlreadyBoundException
Specified by:
createEndpoint in interface Dispatcher
Throws:
ServerException
AlreadyBoundException

removeEndpoint

public void removeEndpoint(Endpoint epoint)
                    throws ServerException,
                           NotBoundException
Specified by:
removeEndpoint in interface Dispatcher
Throws:
ServerException
NotBoundException

dispatch

public boolean dispatch(java.io.Reader reader,
                        java.io.Writer writer,
                        java.util.Map bag)
                 throws java.io.IOException
Unpacks the SOAP packet from reader, assembles a call, executes it and returns the serialized SOAP packet in the writer stream.

Specified by:
dispatch in interface SoapDispatcher
Throws:
java.io.IOException

dispatchToService

public boolean dispatchToService(DeserializeContext dctx,
                                 org.gjt.xpp.XmlStartTag stag,
                                 java.io.Writer writer,
                                 java.util.Map bag)
                          throws java.io.IOException,
                                 DeserializeException,
                                 ServerException
Throws:
java.io.IOException
DeserializeException
ServerException

getLocation

public java.lang.String getLocation()
                             throws ServerException
Specified by:
getLocation in interface SoapDispatcher
Throws:
ServerException

findObject

public java.lang.Object findObject(Port port)
Specified by:
findObject in interface Dispatcher


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.