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

java.lang.Object
  |
  +--org.objectweb.proactive.core.runtime.RuntimeFactory
        |
        +--org.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
IBIS_ENABLED, JINI_ENABLED, logger
 
Constructor Summary
JiniRuntimeFactory()
           
 
Method Summary
protected  JiniRuntimeAdapter createRuntimeAdapter()
           
protected  JiniRuntimeAdapter createRuntimeAdapter(JiniRuntime jiniRuntime)
           
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
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
ProActiveException

createRuntimeAdapter

protected JiniRuntimeAdapter createRuntimeAdapter(JiniRuntime jiniRuntime)
                                           throws ProActiveException
ProActiveException

createRuntimeAdapter

protected JiniRuntimeAdapter createRuntimeAdapter()
                                           throws ProActiveException
ProActiveException

setMulticastLocator

public static void setMulticastLocator(boolean multicastLocator)


Copyright © April 2004 INRIA All Rights Reserved.