org.objectweb.proactive.core.runtime.jini
Class JiniRuntimeFactory

java.lang.Object
  extended byorg.objectweb.proactive.core.runtime.RuntimeFactory
      extended byorg.objectweb.proactive.core.runtime.jini.JiniRuntimeFactory

public class JiniRuntimeFactory
extends RuntimeFactory


Field Summary
protected static int MAX_RETRY
           
protected  java.util.Random random
           
protected static ServiceLocatorHelper serviceLocatorHelper
           
 
Fields inherited from class org.objectweb.proactive.core.runtime.RuntimeFactory
runtimeLogger, XMLHTTP_ENABLED
 
Constructor Summary
JiniRuntimeFactory()
           
 
Method Summary
protected  ProActiveRuntimeAdapterImpl createRuntimeAdapter()
          Creates a new Adapter
protected  ProActiveRuntime getProtocolSpecificRuntimeImpl()
          Returns the reference of the only one instance of the ProActiveRuntime associated with the local JVM.
protected  ProActiveRuntime getRemoteRuntimeImpl(java.lang.String s)
          Returns the reference to the proActiveRuntime located at s
static void setMulticastLocator(boolean multicastLocator)
           
 
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

MAX_RETRY

protected static int MAX_RETRY

random

protected java.util.Random random

serviceLocatorHelper

protected static ServiceLocatorHelper serviceLocatorHelper
Constructor Detail

JiniRuntimeFactory

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

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

setMulticastLocator

public static void setMulticastLocator(boolean multicastLocator)


Copyright 2001-2005 INRIA All Rights Reserved.