org.figure8.join.core.messaging.persistence
Class HibernateJMSConsumerBeanInfoDao

java.lang.Object
  extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
      extended by org.figure8.join.core.persistence.HibernateObjectDao
          extended by org.figure8.join.core.messaging.persistence.HibernateJMSConsumerBeanInfoDao
All Implemented Interfaces:
JMSConsumerBeanInfoDao, ObjectDao, org.springframework.beans.factory.InitializingBean

public class HibernateJMSConsumerBeanInfoDao
extends HibernateObjectDao
implements JMSConsumerBeanInfoDao

Implementation of JMSConsumerBeanInfoDao using Hibernate ORM system.

Version:
$Revision: 1.3 $
Author:
Laurent Broudoux

Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
HibernateJMSConsumerBeanInfoDao()
          Creates a new HibernateJMSConsumerBeanInfoDao.
 
Method Summary
 JMSConsumerBeanInfo getJMSConsumerBeanInfo(java.lang.String name)
          Retrieve JMSConsumerBean info using its name
 java.lang.Class getPersistentClass()
          Get the persistent class associated to this Dao.
 void initializeConsumerParameterInfos(JMSConsumerBeanInfo info)
          Initialize the informations on parameters of a JMSConsumerBeanInfo (this because parameters may be lazy-loaded from persistence store)
 
Methods inherited from class org.figure8.join.core.persistence.HibernateObjectDao
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getById, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Constructor Detail

HibernateJMSConsumerBeanInfoDao

public HibernateJMSConsumerBeanInfoDao()
Creates a new HibernateJMSConsumerBeanInfoDao.

Method Detail

getJMSConsumerBeanInfo

public JMSConsumerBeanInfo getJMSConsumerBeanInfo(java.lang.String name)
Retrieve JMSConsumerBean info using its name

Specified by:
getJMSConsumerBeanInfo in interface JMSConsumerBeanInfoDao
Parameters:
name - The name of the consumer info to retrieve
Returns:
The consumer info or null if no consumer exists with this name

initializeConsumerParameterInfos

public void initializeConsumerParameterInfos(JMSConsumerBeanInfo info)
Initialize the informations on parameters of a JMSConsumerBeanInfo (this because parameters may be lazy-loaded from persistence store)

Specified by:
initializeConsumerParameterInfos in interface JMSConsumerBeanInfoDao
Parameters:
info - The bean wrapping information on JMS consumer to get parameters for

getPersistentClass

public java.lang.Class getPersistentClass()
Description copied from interface: ObjectDao
Get the persistent class associated to this Dao.

Specified by:
getPersistentClass in interface ObjectDao
Returns:
org.figure8.join.core.messaging.JMSConsumerBeanInfo class


Copyright © 2005-2008 Join. All Rights Reserved.