|
||||||||||
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 PortletService
init
in class PortletServiceAdapter
config
- configuration of the service
PortletServiceException
PortletService.init(net.sf.jportlet.service.PortletServiceConfig)
public java.lang.String getServiceName()
PortletService
getServiceName
in interface PortletService
PortletService.getServiceName()
public cirrus.hibernate.SessionFactory getSessionFactory() throws PortletServiceException
HibernateService
SessionFactory
getSessionFactory
in interface HibernateService
PortletServiceException
HibernateService.getSessionFactory()
public void storeClass(java.lang.Class type) throws PortletServiceException
HibernateService
.hbm.xml
file.
storeClass
in interface HibernateService
type
- Persistent type
PortletServiceException
HibernateService.storeClass(java.lang.Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |