org.objectweb.proactive.core.descriptor.services
Class RMIRegistryLookupService

java.lang.Object
  extended byorg.objectweb.proactive.core.descriptor.services.RMIRegistryLookupService
All Implemented Interfaces:
java.io.Serializable, UniversalService

public class RMIRegistryLookupService
extends java.lang.Object
implements UniversalService

This class represents a service to acquire with an RMI lookup a ProActiveRuntime(JVM) previously registered in a RMIRegistry on a local or remote host. This service can be defined and used transparently when using XML Deployment descriptor

Since:
ProActive 2.0.1
Version:
1.0, 2004/09/20
Author:
ProActive Team
See Also:
Serialized Form

Field Summary
protected  ProActiveRuntime[] runtimeArray
           
protected static java.lang.String serviceName
           
protected  java.lang.String url
          lookup url
 
Constructor Summary
RMIRegistryLookupService(java.lang.String url)
           
 
Method Summary
 java.lang.String getServiceName()
          Returns the name of the service.
 ProActiveRuntime[] startService()
          Starts this Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected java.lang.String url
lookup url


serviceName

protected static java.lang.String serviceName

runtimeArray

protected ProActiveRuntime[] runtimeArray
Constructor Detail

RMIRegistryLookupService

public RMIRegistryLookupService(java.lang.String url)
Method Detail

startService

public ProActiveRuntime[] startService()
                                throws ProActiveException
Description copied from interface: UniversalService
Starts this Service

Specified by:
startService in interface UniversalService
Returns:
an array of ProActiveRuntime
Throws:
ProActiveException
See Also:
UniversalService.startService()

getServiceName

public java.lang.String getServiceName()
Description copied from interface: UniversalService
Returns the name of the service. The name is static, it means that it is the same name for all instances of a sefvice's class

Specified by:
getServiceName in interface UniversalService
Returns:
the static name of the service
See Also:
UniversalService.getServiceName()


Copyright 2001-2005 INRIA All Rights Reserved.