org.iids.aos
Class RuntimeSettings

java.lang.Object
  extended by org.iids.aos.RuntimeSettings

public class RuntimeSettings
extends java.lang.Object

Author:
rjtimmer

Constructor Summary
RuntimeSettings()
           
 
Method Summary
static boolean allowLocalApi()
           
static boolean allowLocalKernel()
           
static boolean allowLocalMux()
           
static boolean allowLocalServices()
           
static void setAllowLocalApi(boolean allowLocalApi)
           
static void setAllowLocalKernel(boolean allowLocalKernel)
           
static void setAllowLocalMux(boolean allowLocalMux)
           
static void setAllowLocalServices(boolean allowLocalServices)
           
static void setOptimizeAll(boolean optimizeAll)
          Optimize all runtime settings.
static void setOptimizeNone(boolean optimizeNone)
          Set override optimization options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeSettings

public RuntimeSettings()
Method Detail

setOptimizeNone

public static void setOptimizeNone(boolean optimizeNone)
Set override optimization options. If set to true, then all methods that get inidividual optimization options will always return false. If optimizeNone is false then the get* methods will return their default value.

The check for optimizeNone precedes the check for optimizeAll, so setting both optimizeNone and optimizeAll to true will disable all optimizations (until optimizeNone is set to false again.

Parameters:
optimizeNone - A boolean that specifies whether to override the individual optimization settings, disabling all optimizations.

setOptimizeAll

public static void setOptimizeAll(boolean optimizeAll)
Optimize all runtime settings.

Parameters:
optimizeAll -

allowLocalApi

public static boolean allowLocalApi()

setAllowLocalApi

public static void setAllowLocalApi(boolean allowLocalApi)

allowLocalKernel

public static boolean allowLocalKernel()

setAllowLocalKernel

public static void setAllowLocalKernel(boolean allowLocalKernel)

allowLocalMux

public static boolean allowLocalMux()

setAllowLocalMux

public static void setAllowLocalMux(boolean allowLocalMux)

allowLocalServices

public static boolean allowLocalServices()

setAllowLocalServices

public static void setAllowLocalServices(boolean allowLocalServices)


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