com.continuent.tungsten.replicator
Class VersionManager

java.lang.Object
  extended by com.continuent.tungsten.replicator.VersionManager

public class VersionManager
extends java.lang.Object

This class defines methods to store ans retrieve module versions

Version:
1.0
Author:
Alex Yurchenko

Constructor Summary
VersionManager(TungstenProperties properties)
           
 
Method Summary
 void check()
          TODO: checks tungsten module versions
 Version getVersion(java.lang.String module)
           
 void setVersion(java.lang.String module, Version version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionManager

public VersionManager(TungstenProperties properties)
               throws java.sql.SQLException,
                      ReplicatorException
Throws:
java.sql.SQLException
ReplicatorException
Method Detail

getVersion

public Version getVersion(java.lang.String module)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

setVersion

public void setVersion(java.lang.String module,
                       Version version)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

check

public void check()
           throws java.sql.SQLException
TODO: checks tungsten module versions

Throws:
java.sql.SQLException