org.davesag.generica.persistence.hibernate
Class HibernateArchivistFactory

java.lang.Object
  extended byorg.davesag.generica.persistence.ArchivistFactory
      extended byorg.davesag.generica.persistence.hibernate.HibernateArchivistFactory

public class HibernateArchivistFactory
extends ArchivistFactory

The HibernateArchivistFactory returns a HibernateArchivist.

Since:
Generica 1.0
Version:
CVS Revision $Id: HibernateArchivistFactory.java,v 1.4 2004/04/06 15:33:23 davesag Exp $
Author:
Dave Sag http://www.davesag.com

Constructor Summary
HibernateArchivistFactory()
          default constructor.
 
Method Summary
protected  Archivist getArchivist()
          Returns a HibernateArchivist with a valid Hibernate session as its delegate.
 
Methods inherited from class org.davesag.generica.persistence.ArchivistFactory
getArchivist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateArchivistFactory

public HibernateArchivistFactory()
default constructor.

Throws:
RuntimeException - if could not initialise the hibernate session factory.
Method Detail

getArchivist

protected Archivist getArchivist()
                          throws ArchiveException
Returns a HibernateArchivist with a valid Hibernate session as its delegate.

Specified by:
getArchivist in class ArchivistFactory
Returns:
a HibernateArchivist.
Throws:
ArchiveException - if the session factory was broken.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.