org.isam.exehda.services.worb
Class WorbImpl

java.lang.Object
  |
  +--org.isam.exehda.services.AbstractService
        |
        +--org.isam.exehda.services.HttpService
              |
              +--org.isam.exehda.services.worb.WorbImpl
All Implemented Interfaces:
java.lang.Runnable, Service, Worb

public class WorbImpl
extends HttpService
implements Worb

Webservices ORB implementation

Version:
$Date: 2004/12/07 21:10:29 $ $Revision: 1.14 $
Author:
last modified by $Author: lucc $

Nested Class Summary
(package private)  class WorbImpl.InvokeAction
           
 
Nested classes inherited from class org.isam.exehda.services.HttpService
HttpService.ServiceRequest, HttpService.ServiceResponse
 
Nested classes inherited from class org.isam.exehda.services.Worb
Worb.AutoRetryHandler, Worb.WorbException, Worb.WorbExceptionHandler, Worb.WorbProxy
 
Field Summary
(package private) static int DEFAULT_PORT
           
(package private) static java.lang.String REQ_PROP_OPNUM
           
(package private) static java.lang.String REQ_PROP_RESOURCE
           
(package private) static java.lang.String SERVICE_NAME
           
 
Constructor Summary
WorbImpl()
           
 
Method Summary
 void exportService(java.lang.Object obj, java.lang.Class iface, java.lang.String name)
          Describe exportService method here.
 HostId getClientHost()
          Describe getClientHost method here.
protected  void handleRequest(HttpService.ServiceRequest req)
           
 java.lang.Object lookupService(java.lang.String service, java.lang.Class iface)
          Describe lookupService method here.
 void setExceptionHandler(java.lang.Object proxy, Worb.WorbExceptionHandler ehandler)
          Describe setExceptionHandler method here.
 void unexportService(java.lang.Object obj, java.lang.String name)
          Describe unexportService method here.
 
Methods inherited from class org.isam.exehda.services.HttpService
getPort, getThreadPoolSize, main, run, setPort, setThreadPoolSize, start, stop
 
Methods inherited from class org.isam.exehda.services.AbstractService
log, log, log, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values

DEFAULT_PORT

static final int DEFAULT_PORT
See Also:
Constant Field Values

REQ_PROP_RESOURCE

static final java.lang.String REQ_PROP_RESOURCE
See Also:
Constant Field Values

REQ_PROP_OPNUM

static final java.lang.String REQ_PROP_OPNUM
See Also:
Constant Field Values
Constructor Detail

WorbImpl

public WorbImpl()
         throws java.lang.Exception
Method Detail

exportService

public void exportService(java.lang.Object obj,
                          java.lang.Class iface,
                          java.lang.String name)
Description copied from interface: Worb
Describe exportService method here.

Specified by:
exportService in interface Worb
Parameters:
obj - an Object value
iface - a Class value
name - a String value

unexportService

public void unexportService(java.lang.Object obj,
                            java.lang.String name)
Description copied from interface: Worb
Describe unexportService method here.

Specified by:
unexportService in interface Worb
Parameters:
obj - an Object value
name - a String value

setExceptionHandler

public void setExceptionHandler(java.lang.Object proxy,
                                Worb.WorbExceptionHandler ehandler)
Description copied from interface: Worb
Describe setExceptionHandler method here.

Specified by:
setExceptionHandler in interface Worb
Parameters:
proxy - an Object value
ehandler - a WorbExceptionHandler value

getClientHost

public HostId getClientHost()
Description copied from interface: Worb
Describe getClientHost method here.

Specified by:
getClientHost in interface Worb
Returns:
a HostId value

lookupService

public java.lang.Object lookupService(java.lang.String service,
                                      java.lang.Class iface)
Description copied from interface: Worb
Describe lookupService method here.

Specified by:
lookupService in interface Worb
Parameters:
service - a String value
iface - a Class value
Returns:
an Object value

handleRequest

protected void handleRequest(HttpService.ServiceRequest req)
Overrides:
handleRequest in class HttpService