orca.shirako.container
Class BootHelper

java.lang.Object
  extended by orca.shirako.container.BootHelper

public class BootHelper
extends java.lang.Object


Field Summary
protected  LoggingTool logger
           
protected  ShirakoContainerManager manager
           
 
Constructor Summary
BootHelper(ShirakoContainerManager manager)
           
 
Method Summary
 void boot()
           
protected  void fixClasspath()
           
 void fixKeys()
          "Fixes" the permissions on private keys
 void fixScripts()
          Makes scripts executable
 void loadConfiguration()
          Loads the default configuration file
 void setPermissions()
          XXX: This method is a hack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected ShirakoContainerManager manager

logger

protected LoggingTool logger
Constructor Detail

BootHelper

public BootHelper(ShirakoContainerManager manager)
Method Detail

boot

public void boot()
          throws java.lang.Exception
Throws:
java.lang.Exception

fixClasspath

protected void fixClasspath()

setPermissions

public void setPermissions()
XXX: This method is a hack. One day we should have a more solid approach to dealing with permissions. Sets the permissions on all private keys and scripts.


fixKeys

public void fixKeys()
             throws java.lang.Exception
"Fixes" the permissions on private keys

Throws:
java.lang.Exception

fixScripts

public void fixScripts()
                throws java.lang.Exception
Makes scripts executable

Throws:
java.lang.Exception

loadConfiguration

public void loadConfiguration()
Loads the default configuration file



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