|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.sf.jportlet.service.PortletServiceAdapter
|
+--net.sf.jportlet.service.hibernate.HibernateServiceImpl
Implementation of HibernateService
| Field Summary |
| Fields inherited from class net.sf.jportlet.service.PortletServiceAdapter |
_log, _serviceConfig, _serviceContext |
| Fields inherited from interface net.sf.jportlet.service.hibernate.HibernateService |
NAME |
| Constructor Summary | |
HibernateServiceImpl()
|
|
| Method Summary | |
java.lang.String |
getServiceName()
Returns the name of the service |
cirrus.hibernate.SessionFactory |
getSessionFactory()
Returns the Hibername SessionFactory |
void |
init(net.sf.jportlet.service.PortletServiceConfig config)
Initialize the service |
void |
storeClass(java.lang.Class type)
Register a persistent class by loading if .hbm.xml file. |
| Methods inherited from class net.sf.jportlet.service.PortletServiceAdapter |
destroy, getInitParameter, getInitParameter, getServiceConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jportlet.service.PortletService |
destroy, getServiceConfig |
| Constructor Detail |
public HibernateServiceImpl()
| Method Detail |
public void init(net.sf.jportlet.service.PortletServiceConfig config)
throws PortletServiceException
PortletService
init in interface PortletServiceinit in class PortletServiceAdapterconfig - configuration of the service
PortletServiceExceptionPortletService.init(net.sf.jportlet.service.PortletServiceConfig)public java.lang.String getServiceName()
PortletService
getServiceName in interface PortletServicePortletService.getServiceName()
public cirrus.hibernate.SessionFactory getSessionFactory()
throws PortletServiceException
HibernateServiceSessionFactory
getSessionFactory in interface HibernateServicePortletServiceExceptionHibernateService.getSessionFactory()
public void storeClass(java.lang.Class type)
throws PortletServiceException
HibernateService.hbm.xml file.
storeClass in interface HibernateServicetype - Persistent type
PortletServiceExceptionHibernateService.storeClass(java.lang.Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||