Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.host.rmi
Interface RMIHost


public interface RMIHost


Field Summary
static int RMI_DEFAULT_PORT
           
 
Method Summary
 Remote findService(String host, String port, String svcName)
           
 void registerService(String serviceName, int port, Remote serviceObject)
           
 void registerService(String serviceName, Remote serviceObject)
           
 void unregisterService(String serviceName)
           
 void unregisterService(String serviceName, int port)
           
 

Field Detail

RMI_DEFAULT_PORT

static final int RMI_DEFAULT_PORT
See Also:
Constant Field Values
Method Detail

registerService

void registerService(String serviceName,
                     int port,
                     Remote serviceObject)
                     throws RMIHostException,
                            RMIHostRuntimeException
Throws:
RMIHostException
RMIHostRuntimeException

registerService

void registerService(String serviceName,
                     Remote serviceObject)
                     throws RMIHostException,
                            RMIHostRuntimeException
Throws:
RMIHostException
RMIHostRuntimeException

unregisterService

void unregisterService(String serviceName,
                       int port)
                       throws RMIHostException,
                              RMIHostRuntimeException
Throws:
RMIHostException
RMIHostRuntimeException

unregisterService

void unregisterService(String serviceName)
                       throws RMIHostException,
                              RMIHostRuntimeException
Throws:
RMIHostException
RMIHostRuntimeException

findService

Remote findService(String host,
                   String port,
                   String svcName)
                   throws RMIHostException,
                          RMIHostRuntimeException
Throws:
RMIHostException
RMIHostRuntimeException

Apache Tuscany SCA Kernel Sub-Project

-