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

java.lang.Object
  extended byorg.objectweb.proactive.core.runtime.RuntimeFactory
      extended byorg.objectweb.proactive.core.runtime.rmi.RmiRuntimeFactory
Direct Known Subclasses:
SshRmiRuntimeFactory

public class RmiRuntimeFactory
extends RuntimeFactory


Field Summary
protected static ClassServerHelper classServerHelper
           
protected static ProActiveRuntime defaultRmiRuntime
           
protected static ProActiveRuntimeForwarder defaultRmiRuntimeForwarder
           
protected static RegistryHelper registryHelper
           
 
Fields inherited from class org.objectweb.proactive.core.runtime.RuntimeFactory
runtimeLogger, XMLHTTP_ENABLED
 
Constructor Summary
RmiRuntimeFactory()
           
 
Method Summary
protected  ProActiveRuntimeAdapterImpl createRuntimeAdapter()
          Creates a new Adapter
protected  ProActiveRuntimeAdapterForwarderImpl createRuntimeAdapterForwarder()
           
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
createRuntimeAdapter, 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

defaultRmiRuntime

protected static ProActiveRuntime defaultRmiRuntime

defaultRmiRuntimeForwarder

protected static ProActiveRuntimeForwarder defaultRmiRuntimeForwarder
Constructor Detail

RmiRuntimeFactory

public RmiRuntimeFactory()
                  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
Throws:
ProActiveException

createRuntimeAdapter

protected ProActiveRuntimeAdapterImpl createRuntimeAdapter()
                                                    throws ProActiveException
Description copied from class: RuntimeFactory
Creates a new Adapter

Specified by:
createRuntimeAdapter in class RuntimeFactory
Returns:
the newly created Adapter
Throws:
ProActiveException - if a pb occurs during the creation

createRuntimeAdapterForwarder

protected ProActiveRuntimeAdapterForwarderImpl createRuntimeAdapterForwarder()
                                                                      throws ProActiveException
Throws:
ProActiveException

getRegistryHelper

public static RegistryHelper getRegistryHelper()


Copyright 2001-2005 INRIA All Rights Reserved.