org.alliance.core.comm
Class AutomaticUpgrade

java.lang.Object
  extended by org.alliance.core.comm.AutomaticUpgrade

public class AutomaticUpgrade
extends java.lang.Object

Created by IntelliJ IDEA. User: maciek Date: 2006-feb-07 Time: 13:44:21


Field Summary
static java.lang.String UPGRADE_FILENAME
           
 
Constructor Summary
AutomaticUpgrade(CoreSubsystem core, CacheStorage cache)
           
 
Method Summary
 Hash getMyJarHash()
           
 Hash getNewVersionHash()
           
 void performUpgrade()
           
 void setNewVersionHash(Hash newVersionHash)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPGRADE_FILENAME

public static final java.lang.String UPGRADE_FILENAME
See Also:
Constant Field Values
Constructor Detail

AutomaticUpgrade

public AutomaticUpgrade(CoreSubsystem core,
                        CacheStorage cache)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getMyJarHash

public Hash getMyJarHash()

performUpgrade

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

getNewVersionHash

public Hash getNewVersionHash()

setNewVersionHash

public void setNewVersionHash(Hash newVersionHash)