Package net.sf.jasperreports.data.ds
Class DataSourceDataAdapterService
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapterService
-
- net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
-
- net.sf.jasperreports.data.ds.DataSourceDataAdapterService
-
- All Implemented Interfaces:
DataAdapterService
,ParameterContributor
public class DataSourceDataAdapterService extends AbstractClasspathAwareDataAdapterService
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_INVALID_OBJECT_RETURNED
-
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 DataSourceDataAdapterService(ParameterContributorContext paramContribContext, DataSourceDataAdapter dsDataAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contributeParameters(Map<String,Object> parameters)
protected ClassLoader
getClassLoader(ClassLoader cloader)
DataSourceDataAdapter
getDataSourceDataAdapter()
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
getPathClassloader
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapterService
dispose, getDataAdapter, getJasperReportsContext, getName, getParameterContributorContext, setDataAdapter, setName, test
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_INVALID_OBJECT_RETURNED
public static final String EXCEPTION_MESSAGE_KEY_INVALID_OBJECT_RETURNED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataSourceDataAdapterService
public DataSourceDataAdapterService(ParameterContributorContext paramContribContext, DataSourceDataAdapter dsDataAdapter)
-
-
Method Detail
-
getDataSourceDataAdapter
public DataSourceDataAdapter getDataSourceDataAdapter()
-
getClassLoader
protected ClassLoader getClassLoader(ClassLoader cloader)
- Overrides:
getClassLoader
in classAbstractClasspathAwareDataAdapterService
-
contributeParameters
public void contributeParameters(Map<String,Object> parameters) throws JRException
- Specified by:
contributeParameters
in interfaceParameterContributor
- Specified by:
contributeParameters
in classAbstractDataAdapterService
- Throws:
JRException
-
-