com.bigdata.jini.start.process
Class JiniCoreServicesProcessHelper

java.lang.Object
  extended by com.bigdata.jini.start.process.ProcessHelper
      extended by com.bigdata.jini.start.process.JiniCoreServicesProcessHelper

public class JiniCoreServicesProcessHelper
extends ProcessHelper

Class for starting the jini services.

Version:
$Id$
Author:
Bryan Thompson

Field Summary
 
Fields inherited from class com.bigdata.jini.start.process.ProcessHelper
log, name
 
Constructor Summary
JiniCoreServicesProcessHelper(String name, ProcessBuilder builder, IServiceListener listener)
           
 
Method Summary
static boolean startCoreServices(net.jini.config.Configuration config, IServiceListener listener)
          Start the jini core services if they are configured as either running on this or using multicast (so they could be running on any host) and if there are not enough ServiceRegistrars already running.
 
Methods inherited from class com.bigdata.jini.start.process.ProcessHelper
consumeOutput, equals, exitValue, exitValue, getCommandString, getEnvironment, interruptWhenProcessDies, kill, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JiniCoreServicesProcessHelper

public JiniCoreServicesProcessHelper(String name,
                                     ProcessBuilder builder,
                                     IServiceListener listener)
                              throws IOException
Parameters:
name -
builder -
listener -
Throws:
IOException
Method Detail

startCoreServices

public static boolean startCoreServices(net.jini.config.Configuration config,
                                        IServiceListener listener)
                                 throws Exception
Start the jini core services if they are configured as either running on this or using multicast (so they could be running on any host) and if there are not enough ServiceRegistrars already running.

Parameters:
config -
listener -
Returns:
true if an instance was started.
Throws:
Exception - FIXME We need to specify the discovery groups and then modify this to start the lookup service (the only thing that we need) using the correct groups override. See LookupStarter.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.