soaprmi.soaprpc
Class SoapServices

java.lang.Object
  extended bysoaprmi.server.Services
      extended bysoaprmi.soaprpc.SoapServices

public class SoapServices
extends Services

Define entry points to SOAP web services.

Version:
$Revision: 1.13 $
Author:
Aleksander Slominski

Field Summary
static java.lang.String USER_AGENT
           
 
Fields inherited from class soaprmi.server.Services
GUIDrandom
 
Method Summary
 void addDefaultDispatcher()
          this is a hook method used by susclasses to register default dsipatcher if class user did not set any dispatchers
 RemoteRef createStartpoint(Port port)
           
static SoapServices getDefault()
           
static SoapServices newInstance()
          Create new instance of service that will not have default embedded server and dispatcher.
static SoapServices newInstance(int port)
          Create new istance of service that by default if no other dispatcher set will start embedded server on port and use it as default dispatcher uless port is -1.
 
Methods inherited from class soaprmi.server.Services
addDispatcher, addInvoker, createGUID, createPort, createPort, createStartpoint, createStartpoint, createStartpoint, createStartpoint, createStartpointFromXml, dispatchersSize, getConnectionContext, getMapping, getPorts, getStartpointLocation, getStartpointLocationPort, getStartpointXml, loadStartpoint, saveStartpoint, setDispatcher, setInvoker, setMapping, setStartpointLocation, wrapService
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_AGENT

public static final java.lang.String USER_AGENT
Method Detail

getDefault

public static SoapServices getDefault()

newInstance

public static SoapServices newInstance()
Create new instance of service that will not have default embedded server and dispatcher.


newInstance

public static SoapServices newInstance(int port)
Create new istance of service that by default if no other dispatcher set will start embedded server on port and use it as default dispatcher uless port is -1. Using 0 as port will allow automaic selection of available free TCP port.


createStartpoint

public RemoteRef createStartpoint(Port port)
                           throws RemoteException
Overrides:
createStartpoint in class Services
Throws:
RemoteException

addDefaultDispatcher

public void addDefaultDispatcher()
                          throws java.io.IOException,
                                 ServerException
Description copied from class: Services
this is a hook method used by susclasses to register default dsipatcher if class user did not set any dispatchers

Overrides:
addDefaultDispatcher in class Services
Throws:
java.io.IOException
ServerException


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