public class JdbcDataAdapterService extends AbstractClasspathAwareDataAdapterService
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_PASSWORD_REQUIRED |
CURRENT_CLASS_LOADERSECRETS_CATEGORY| Constructor and Description |
|---|
JdbcDataAdapterService(JasperReportsContext jasperReportsContext,
JdbcDataAdapter jdbcDataAdapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
contributeParameters(Map<String,Object> parameters) |
void |
dispose() |
Connection |
getConnection() |
JdbcDataAdapter |
getJdbcDataAdapter() |
String |
getPassword() |
getClassLoader, getPathClassloadergetDataAdapter, getJasperReportsContext, getName, setDataAdapter, setName, testpublic static final String EXCEPTION_MESSAGE_KEY_PASSWORD_REQUIRED
public JdbcDataAdapterService(JasperReportsContext jasperReportsContext, JdbcDataAdapter jdbcDataAdapter)
public JdbcDataAdapter getJdbcDataAdapter()
public void contributeParameters(Map<String,Object> parameters) throws JRException
contributeParameters in interface ParameterContributorcontributeParameters in class AbstractDataAdapterServiceJRExceptionpublic Connection getConnection() throws SQLException
SQLExceptionpublic String getPassword() throws JRException
JRExceptionpublic void dispose()
dispose in interface ParameterContributordispose in class AbstractDataAdapterServiceCopyright © 2017. All rights reserved.