org.ow2.petals.flowwatch.utils
Class ConfigAndFactory

java.lang.Object
  extended by org.ow2.petals.flowwatch.utils.ConfigAndFactory

public class ConfigAndFactory
extends java.lang.Object

Author:
Frederic Gardes

Constructor Summary
ConfigAndFactory()
           
 
Method Summary
 org.hibernate.cfg.AnnotationConfiguration getConfig()
          Get the config
 org.hibernate.SessionFactory getFactory()
          Get the factory
 void setConfig(org.hibernate.cfg.AnnotationConfiguration config)
          Set the config
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigAndFactory

public ConfigAndFactory()
Method Detail

getConfig

public org.hibernate.cfg.AnnotationConfiguration getConfig()
Get the config

Returns:
the config

setConfig

public void setConfig(org.hibernate.cfg.AnnotationConfiguration config)
Set the config

Parameters:
config - the config to set

getFactory

public org.hibernate.SessionFactory getFactory()
Get the factory

Returns:
the factory


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.