org.iids.aos.kernel
Class KernelStartup

java.lang.Object
  extended by org.iids.aos.kernel.KernelStartup

public class KernelStartup
extends java.lang.Object

Main class that starts up the kernel and all dispatchers.

Author:
arno

Field Summary
protected  KernelConfig _config
           
protected  Cookie _initCookie
           
protected  SunRpcDispatcher _sunRpcDispatch
           
protected  XmlRpcDispatcher _xmlRpcDispatch
           
 
Constructor Summary
KernelStartup(KernelConfig config)
          Check config for errors and create key pairs if necessary
KernelStartup(java.lang.String configFilename)
          Check config for errors and create key pairs if necessary
 
Method Summary
 Cookie getInitCookie()
           
static KernelImpl getKernel()
           
 KernelParameters getKernelParameters()
           
static java.lang.String getPassphrase()
           
static void main(java.lang.String[] args)
           
 void shutdown()
           
 void shutdownDispatchersForTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_xmlRpcDispatch

protected XmlRpcDispatcher _xmlRpcDispatch

_sunRpcDispatch

protected SunRpcDispatcher _sunRpcDispatch

_config

protected KernelConfig _config

_initCookie

protected Cookie _initCookie
Constructor Detail

KernelStartup

public KernelStartup(KernelConfig config)
              throws java.lang.Exception
Check config for errors and create key pairs if necessary

Parameters:
config - KernelConfig
Throws:
java.lang.Exception - on error

KernelStartup

public KernelStartup(java.lang.String configFilename)
              throws java.lang.Exception
Check config for errors and create key pairs if necessary

Parameters:
configFilename - filename of kernel configuration file.
Throws:
java.lang.Exception - on error
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments

shutdown

public void shutdown()

shutdownDispatchersForTest

public void shutdownDispatchersForTest()

getPassphrase

public static java.lang.String getPassphrase()
                                      throws java.io.IOException
Throws:
java.io.IOException

getKernel

public static KernelImpl getKernel()

getKernelParameters

public KernelParameters getKernelParameters()

getInitCookie

public Cookie getInitCookie()


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.