net.sf.jasperreports.jsf.engine.converters
Class JndiSourceConverter
java.lang.Object
net.sf.jasperreports.jsf.engine.converters.SourceConverterBase
net.sf.jasperreports.jsf.engine.converters.DatabaseSourceConverter
net.sf.jasperreports.jsf.engine.converters.JndiSourceConverter
- All Implemented Interfaces:
- Serializable, SourceConverter
public final class JndiSourceConverter
- extends DatabaseSourceConverter
Converter implementation which obtains a JDBC connection
from a JNDI datasource name.
- Author:
- A. Alonso Dominguez
- See Also:
- Serialized Form
Method Summary |
protected Connection |
getConnection(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiSourceConverter
public JndiSourceConverter()
getConnection
protected Connection getConnection(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws SourceException
- Specified by:
getConnection
in class DatabaseSourceConverter
- Throws:
SourceException
Copyright © 2011 SourceForge.net. All Rights Reserved.