org.objectweb.proactive.core.descriptor.services
Class RMIRegistryLookupService
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
protected java.lang.String url
- lookup url
serviceName
protected static java.lang.String serviceName
runtimeArray
protected ProActiveRuntime[] runtimeArray
RMIRegistryLookupService
public RMIRegistryLookupService(java.lang.String url)
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 ? October 2004 INRIA All Rights Reserved.