net.databinder.hib
Interface HibernateApplication

All Known Implementing Classes:
AuthDataApplication, DataApplication

public interface HibernateApplication

Databinder application interface. DataStaticService expects the current Wicket application to conform to this interface and supply a session factory as needed.

Author:
Nathan Hamblen
See Also:
Databinder

Method Summary
 org.hibernate.SessionFactory getHibernateSessionFactory(java.lang.Object key)
          Supply the session factory for the given key.
 

Method Detail

getHibernateSessionFactory

org.hibernate.SessionFactory getHibernateSessionFactory(java.lang.Object key)
Supply the session factory for the given key. Applications needing only one session factory may return it without inspecting the key parameter.

Parameters:
key - or null for the default factory
Returns:
configured Hibernate session factory


Copyright © 2005-2008 Nathan Hamblen. All Rights Reserved.