org.chorem.callao.service.utils
Class ContextCallao

java.lang.Object
  extended by org.nuiton.topia.ContextUtil
      extended by org.chorem.callao.service.utils.ContextCallao

public class ContextCallao
extends org.nuiton.topia.ContextUtil

Configuration de Callao (chargement du context)

Author:
Rémi Chapelet

Method Summary
static ContextCallao getInstance()
          Methode qui doit etre appelee pour chaque acces a la base de donnees.
protected  java.util.Properties loadProperties()
          Chargement du fichier de configuration
 
Methods inherited from class org.nuiton.topia.ContextUtil
close, commit, disconnect, getContext, init, initDB, isInit, loadFileProperties, rollback, transaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadProperties

protected java.util.Properties loadProperties()
                                       throws java.io.IOException,
                                              java.net.URISyntaxException
Chargement du fichier de configuration

Specified by:
loadProperties in class org.nuiton.topia.ContextUtil
Throws:
java.io.IOException
java.net.URISyntaxException

getInstance

public static ContextCallao getInstance()
Methode qui doit etre appelee pour chaque acces a la base de donnees. Si le chargement de la configuration n'est pas deja effectuee, alors il appelle la methode ContextCallao pour instancier rootcontext.



Copyright © 2008-2010 CodeLutin. All Rights Reserved.