orca.boot
Class ConfigurationProcessor

java.lang.Object
  extended by orca.boot.ConfigurationProcessor

public class ConfigurationProcessor
extends java.lang.Object


Nested Class Summary
protected  class ConfigurationProcessor.ExportInfo
           
 
Field Summary
protected static java.lang.String AGENT
           
protected static java.lang.String AUTHORITY
           
protected  Configuration config
           
protected  Global global
           
protected  LoggingTool logger
           
protected static java.lang.String LOGGERNAME
           
static java.lang.String ShirakoAdmin
           
protected static java.lang.String SM
           
protected  long time
           
protected  java.util.Hashtable toExport
           
protected  java.util.Hashtable toInitialize
           
 
Constructor Summary
ConfigurationProcessor(Configuration config)
           
 
Method Summary
protected  void createDefaultSlice()
           
protected  void enableTicking()
           
protected  void export(ConfigurationProcessor.ExportInfo info)
          Exports and claims resources
static Proxy getAgentProxy(Proxy authorityProxy)
          Converts an authority proxy to an agent proxy.
protected  void initializeActors()
          Performs final actor initialization
protected  void installManagementDefaults()
           
protected  void populateInventory()
           
 void process()
          Instantiates the configuration
protected  void processExports()
          Exports and claims resources
protected  void processSecurity()
           
protected  void processTopology()
          Processes the topology section
protected  void recoverActors()
           
protected  void registerActors()
           
protected  void setGuid()
           
protected  void setTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SM

protected static final java.lang.String SM
See Also:
Constant Field Values

AGENT

protected static final java.lang.String AGENT
See Also:
Constant Field Values

AUTHORITY

protected static final java.lang.String AUTHORITY
See Also:
Constant Field Values

ShirakoAdmin

public static final java.lang.String ShirakoAdmin
See Also:
Constant Field Values

LOGGERNAME

protected static final java.lang.String LOGGERNAME
See Also:
Constant Field Values

logger

protected LoggingTool logger

config

protected Configuration config

global

protected Global global

toInitialize

protected java.util.Hashtable toInitialize

toExport

protected java.util.Hashtable toExport

time

protected long time
Constructor Detail

ConfigurationProcessor

public ConfigurationProcessor(Configuration config)
Method Detail

process

public void process()
             throws java.lang.Exception
Instantiates the configuration

Throws:
java.lang.Exception

registerActors

protected void registerActors()
                       throws java.lang.Exception
Throws:
java.lang.Exception

installManagementDefaults

protected void installManagementDefaults()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

createDefaultSlice

protected void createDefaultSlice()
                           throws java.lang.Exception
Throws:
java.lang.Exception

populateInventory

protected void populateInventory()
                          throws java.lang.Exception
Throws:
java.lang.Exception

recoverActors

protected void recoverActors()
                      throws java.lang.Exception
Throws:
java.lang.Exception

enableTicking

protected void enableTicking()
                      throws java.lang.Exception
Throws:
java.lang.Exception

setGuid

protected void setGuid()

setTime

protected void setTime()
                throws java.lang.Exception
Throws:
java.lang.Exception

getAgentProxy

public static Proxy getAgentProxy(Proxy authorityProxy)
                           throws java.lang.Exception
Converts an authority proxy to an agent proxy. Used during initial setup for export and claim. Helps prevent treating an authority as two separate actors.

Parameters:
authorityProxy -
Returns:
Throws:
java.lang.Exception

processTopology

protected void processTopology()
                        throws java.lang.Exception
Processes the topology section

Throws:
java.lang.Exception

export

protected void export(ConfigurationProcessor.ExportInfo info)
               throws java.lang.Exception
Exports and claims resources

Parameters:
info -
Throws:
java.lang.Exception

initializeActors

protected void initializeActors()
                         throws java.lang.Exception
Performs final actor initialization

Throws:
java.lang.Exception

processSecurity

protected void processSecurity()
                        throws java.lang.Exception
Throws:
java.lang.Exception

processExports

protected void processExports()
                       throws java.lang.Exception
Exports and claims resources

Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.