From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/host/rmi/ExtensibleRMIHost.html | 419 +++++++++++++++++++++ 1 file changed, 419 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/host/rmi/ExtensibleRMIHost.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/host/rmi/ExtensibleRMIHost.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/host/rmi/ExtensibleRMIHost.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/host/rmi/ExtensibleRMIHost.html new file mode 100644 index 0000000000..e87360aa59 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/host/rmi/ExtensibleRMIHost.html @@ -0,0 +1,419 @@ + + + + + + +ExtensibleRMIHost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.host.rmi +
+Class ExtensibleRMIHost

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.host.rmi.ExtensibleRMIHost
+
+
+
All Implemented Interfaces:
RMIHost
+
+
+
+
public class ExtensibleRMIHost
extends java.lang.Object
implements RMIHost
+ + +

+Default implementation of an extensible RMI host. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.tuscany.sca.host.rmi.RMIHost
RMI_DEFAULT_PORT
+  + + + + + + + + + + +
+Constructor Summary
ExtensibleRMIHost(RMIHostExtensionPoint rmiHosts) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.rmi.RemotefindService(java.lang.String host, + java.lang.String port, + java.lang.String svcName) + +
+          find a remote service hosted on the given host, port and service name
+ voidregisterService(java.lang.String serviceName, + int port, + java.rmi.Remote serviceObject) + +
+          Register an RMI service with the given name and port
+ voidregisterService(java.lang.String serviceName, + java.rmi.Remote serviceObject) + +
+          Register an RMI service with the given name and default port (1099)
+ voidunregisterService(java.lang.String serviceName) + +
+          Unregister a service registered under the given service name and default port number (1099)
+ voidunregisterService(java.lang.String serviceName, + int port) + +
+          Unregister a service registered under the given service name and port number
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExtensibleRMIHost

+
+public ExtensibleRMIHost(RMIHostExtensionPoint rmiHosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+registerService

+
+public void registerService(java.lang.String serviceName,
+                            int port,
+                            java.rmi.Remote serviceObject)
+                     throws RMIHostException,
+                            RMIHostRuntimeException
+
+
Description copied from interface: RMIHost
+
Register an RMI service with the given name and port +

+

+
Specified by:
registerService in interface RMIHost
+
+
+
Parameters:
serviceName - against which the server is to be registered
port - the port against which the server is to be registered
serviceObject - the server object to be registered +
Throws: +
RMIHostException +
RMIHostRuntimeException
+
+
+
+ +

+findService

+
+public java.rmi.Remote findService(java.lang.String host,
+                                   java.lang.String port,
+                                   java.lang.String svcName)
+                            throws RMIHostException,
+                                   RMIHostRuntimeException
+
+
Description copied from interface: RMIHost
+
find a remote service hosted on the given host, port and service name +

+

+
Specified by:
findService in interface RMIHost
+
+
+
Parameters:
host - the name of the host on which the RMI service to be unregistered is running
port - the port against which the server is to be unregistered is running
svcName - serviceName against which the server is to be unregistered is running +
Returns:
the RMI server object +
Throws: +
RMIHostException +
RMIHostRuntimeException
+
+
+
+ +

+registerService

+
+public void registerService(java.lang.String serviceName,
+                            java.rmi.Remote serviceObject)
+                     throws RMIHostException,
+                            RMIHostRuntimeException
+
+
Description copied from interface: RMIHost
+
Register an RMI service with the given name and default port (1099) +

+

+
Specified by:
registerService in interface RMIHost
+
+
+
Parameters:
serviceName - serviceName against which the server is to be registered
serviceObject - the server object to be registered +
Throws: +
RMIHostException +
RMIHostRuntimeException
+
+
+
+ +

+unregisterService

+
+public void unregisterService(java.lang.String serviceName)
+                       throws RMIHostException,
+                              RMIHostRuntimeException
+
+
Description copied from interface: RMIHost
+
Unregister a service registered under the given service name and default port number (1099) +

+

+
Specified by:
unregisterService in interface RMIHost
+
+
+
Parameters:
serviceName - the name of the service that has to be unregistered +
Throws: +
RMIHostException +
RMIHostRuntimeException
+
+
+
+ +

+unregisterService

+
+public void unregisterService(java.lang.String serviceName,
+                              int port)
+                       throws RMIHostException,
+                              RMIHostRuntimeException
+
+
Description copied from interface: RMIHost
+
Unregister a service registered under the given service name and port number +

+

+
Specified by:
unregisterService in interface RMIHost
+
+
+
Parameters:
serviceName - serviceName against which the server is to be registered
port - the port against which the server is to be registered +
Throws: +
RMIHostException +
RMIHostRuntimeException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3