com.caucho.resources.rmi
Class RmiService

java.lang.Object
  extended by com.caucho.resources.rmi.RmiService

public class RmiService
extends java.lang.Object


Constructor Summary
RmiService()
           
 
Method Summary
 java.lang.String getServiceClass()
          The name of the class that implements the service.
 java.lang.String getServiceName()
           
 void init()
           
 void setParent(java.lang.Object parent)
           
 void setServiceClass(java.lang.String serviceClass)
          The name of the class that implements the service.
 void setServiceName(java.lang.String name)
          The name of the service in the Registry, usually by convention this is the same as the class name of the interface for the service.
 void start()
          Bind the RMI service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmiService

public RmiService()
Method Detail

setServiceName

public void setServiceName(java.lang.String name)
The name of the service in the Registry, usually by convention this is the same as the class name of the interface for the service. RMI has a global namespace, so this name must be unique within the JVM of the Registry, even if the service happens to belong only to a particular web-app.


getServiceName

public java.lang.String getServiceName()

setServiceClass

public void setServiceClass(java.lang.String serviceClass)
The name of the class that implements the service.


getServiceClass

public java.lang.String getServiceClass()
The name of the class that implements the service.


setParent

public void setParent(java.lang.Object parent)

init

public void init()
          throws ConfigException
Throws:
ConfigException

start

public void start()
           throws ResourceAdapterInternalException
Bind the RMI service.

Throws:
ResourceAdapterInternalException