net.fenyo.gnetwatch
Class Synchro

java.lang.Object
  extended by net.fenyo.gnetwatch.Synchro

public class Synchro
extends java.lang.Object

This class maintains object-relational mappings.

Version:
$Id: Synchro.java,v 1.12 2008/04/21 23:07:12 fenyo Exp $
Author:
Alexandre Fenyo

Field Summary
private  Config config
           
private static Log log
           
private  SessionFactory sessionFactory
           
 
Constructor Summary
Synchro(Config config)
          Constructor.
 
Method Summary
 void end()
           
 SessionFactory getSessionFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log

config

private final Config config

sessionFactory

private final SessionFactory sessionFactory
Constructor Detail

Synchro

public Synchro(Config config)
Constructor. Reads the configuration properties from the initialization file. main thread

Parameters:
config - configuration.
Method Detail

getSessionFactory

public SessionFactory getSessionFactory()

end

public void end()