Package net.sf.jasperreports.hibernate
Class HibernateDataAdapterService
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapterService
-
- net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
-
- net.sf.jasperreports.hibernate.HibernateDataAdapterService
-
- All Implemented Interfaces:
DataAdapterService
,ParameterContributor
public class HibernateDataAdapterService extends AbstractClasspathAwareDataAdapterService
- Author:
- Veaceslov Chicu (schicu@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
CURRENT_CLASS_LOADER
-
Fields inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapterService
SECRETS_CATEGORY
-
-
Constructor Summary
Constructors Constructor Description HibernateDataAdapterService(ParameterContributorContext paramContribContext, HibernateDataAdapter jsonDataAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contributeParameters(Map<String,Object> parameters)
void
dispose()
HibernateDataAdapter
getHibernateDataAdapter()
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
getClassLoader, getPathClassloader
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapterService
getDataAdapter, getJasperReportsContext, getName, getParameterContributorContext, setDataAdapter, setName, test
-
-
-
-
Constructor Detail
-
HibernateDataAdapterService
public HibernateDataAdapterService(ParameterContributorContext paramContribContext, HibernateDataAdapter jsonDataAdapter)
-
-
Method Detail
-
getHibernateDataAdapter
public HibernateDataAdapter getHibernateDataAdapter()
-
contributeParameters
public void contributeParameters(Map<String,Object> parameters) throws JRException
- Specified by:
contributeParameters
in interfaceParameterContributor
- Specified by:
contributeParameters
in classAbstractDataAdapterService
- Throws:
JRException
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceParameterContributor
- Overrides:
dispose
in classAbstractDataAdapterService
-
-