Class DataSourceProviderDataAdapterService
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapterService
-
- net.sf.jasperreports.dataadapters.AbstractClasspathAwareDataAdapterService
-
- net.sf.jasperreports.data.provider.DataSourceProviderDataAdapterService
-
- All Implemented Interfaces:
DataAdapterService
,ParameterContributor
public class DataSourceProviderDataAdapterService extends AbstractClasspathAwareDataAdapterService
- Author:
- Teodor Danciu (teodord@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 DataSourceProviderDataAdapterService(ParameterContributorContext paramContribContext, DataSourceProviderDataAdapter 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)
DataSourceProviderDataAdapter
getDataSourceProviderDataAdapter()
JRDataSourceProvider
getProvider()
-
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
-
-
-
-
Constructor Detail
-
DataSourceProviderDataAdapterService
public DataSourceProviderDataAdapterService(ParameterContributorContext paramContribContext, DataSourceProviderDataAdapter dsDataAdapter)
-
-
Method Detail
-
getDataSourceProviderDataAdapter
public DataSourceProviderDataAdapter getDataSourceProviderDataAdapter()
-
getClassLoader
protected ClassLoader getClassLoader(ClassLoader cloader)
- Overrides:
getClassLoader
in classAbstractClasspathAwareDataAdapterService
-
getProvider
public JRDataSourceProvider getProvider() throws JRException
- Throws:
JRException
-
contributeParameters
public void contributeParameters(Map<String,Object> parameters) throws JRException
- Specified by:
contributeParameters
in interfaceParameterContributor
- Specified by:
contributeParameters
in classAbstractDataAdapterService
- Throws:
JRException
-
-