|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.regis.hibernate.HibernateRegistryFactory
public class HibernateRegistryFactory
An instance of this class creates an HibernateRegistry instance.
| Nested Class Summary | |
|---|---|
static class |
HibernateRegistryFactory.HibernateConfigContext
|
| Constructor Summary | |
|---|---|
HibernateRegistryFactory()
|
|
| Method Summary | |
|---|---|
Registry |
connect(java.util.Properties props)
This method expects properties that follow the Hibernate configuration spec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateRegistryFactory()
| Method Detail |
|---|
public Registry connect(java.util.Properties props)
throws java.lang.Exception
Configuration object.
The returned Registry implementation will thus be based on an
Hibernate SessionFactory.
connect in interface RegistryFactoryprops - some Hibernate properties.
HibernateRegistry instance.
java.lang.Exception - if a problem occurs while attempting to connect.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||