org.objectweb.proactive.core.runtime.rmi
Class RemoteRuntimeFactory

java.lang.Object
  |
  +--org.objectweb.proactive.core.runtime.RuntimeFactory
        |
        +--org.objectweb.proactive.core.runtime.rmi.RemoteRuntimeFactory

public class RemoteRuntimeFactory
extends RuntimeFactory


Field Summary
protected static ClassServerHelper classServerHelper
           
protected static RegistryHelper registryHelper
           
 
Fields inherited from class org.objectweb.proactive.core.runtime.RuntimeFactory
IBIS_ENABLED, JINI_ENABLED, logger
 
Constructor Summary
RemoteRuntimeFactory()
           
 
Method Summary
protected  RemoteProActiveRuntimeAdapter createRuntimeAdapter()
           
protected  RemoteProActiveRuntimeAdapter createRuntimeAdapter(RemoteProActiveRuntime remoteProActiveRuntime)
           
protected  ProActiveRuntime getProtocolSpecificRuntimeImpl()
          Returns the reference of the only one instance of the ProActiveRuntime associated with the local JVM.
static RegistryHelper getRegistryHelper()
           
protected  ProActiveRuntime getRemoteRuntimeImpl(java.lang.String s)
          Returns the reference to the proActiveRuntime located at s
static void setClassServerClasspath(java.lang.String v)
           
static void setRegistryPortNumber(int v)
           
static void setShouldCreateClassServer(boolean v)
           
static void setShouldCreateRegistry(boolean v)
           
 
Methods inherited from class org.objectweb.proactive.core.runtime.RuntimeFactory
getDefaultRuntime, getProtocolSpecificRuntime, getRuntime, isRuntimeLocal, setFactory, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registryHelper

protected static RegistryHelper registryHelper

classServerHelper

protected static ClassServerHelper classServerHelper
Constructor Detail

RemoteRuntimeFactory

public RemoteRuntimeFactory()
                     throws java.io.IOException
Method Detail

setClassServerClasspath

public static void setClassServerClasspath(java.lang.String v)

setShouldCreateClassServer

public static void setShouldCreateClassServer(boolean v)

setRegistryPortNumber

public static void setRegistryPortNumber(int v)

setShouldCreateRegistry

public static void setShouldCreateRegistry(boolean v)

getProtocolSpecificRuntimeImpl

protected ProActiveRuntime getProtocolSpecificRuntimeImpl()
                                                   throws ProActiveException
Description copied from class: RuntimeFactory
Returns the reference of the only one instance of the ProActiveRuntime associated with the local JVM. If this runtime does not yet exist, it creates it with the associated protocol.

Specified by:
getProtocolSpecificRuntimeImpl in class RuntimeFactory
Returns:
ProActiveRuntime
Throws:
ProActiveException - if this ProActiveRuntime cannot be created

getRemoteRuntimeImpl

protected ProActiveRuntime getRemoteRuntimeImpl(java.lang.String s)
                                         throws ProActiveException
Description copied from class: RuntimeFactory
Returns the reference to the proActiveRuntime located at s

Specified by:
getRemoteRuntimeImpl in class RuntimeFactory
ProActiveException

createRuntimeAdapter

protected RemoteProActiveRuntimeAdapter createRuntimeAdapter(RemoteProActiveRuntime remoteProActiveRuntime)
                                                      throws ProActiveException
ProActiveException

createRuntimeAdapter

protected RemoteProActiveRuntimeAdapter createRuntimeAdapter()
                                                      throws ProActiveException
ProActiveException

getRegistryHelper

public static RegistryHelper getRegistryHelper()


Copyright © April 2004 INRIA All Rights Reserved.