com.opensymphony.module.propertyset.hibernate
Interface HibernateConfigurationProvider

All Known Implementing Classes:
DefaultHibernateConfigurationProvider

public interface HibernateConfigurationProvider

Use this class to provide your own configurations to the PropertySet hibernate providers.

Simply implement this interface and return a Hibernate Configuration object.

This is setup by using the configuration.provider.class property, with the classname of your implementation.


Method Summary
 net.sf.hibernate.cfg.Configuration getConfiguration()
          Get a Hibernate configuration object
 HibernatePropertySetDAO getPropertySetDAO()
           
 void setupConfiguration(java.util.Map properties)
          Setup a Hibernate configuration object with the given properties.
 

Method Detail

getConfiguration

public net.sf.hibernate.cfg.Configuration getConfiguration()
Get a Hibernate configuration object


getPropertySetDAO

public HibernatePropertySetDAO getPropertySetDAO()

setupConfiguration

public void setupConfiguration(java.util.Map properties)
Setup a Hibernate configuration object with the given properties. This will always be called before getConfiguration().


See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony