|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.jsf.engine.ConnectionWrapper
public class ConnectionWrapper
Source implementation of a connection wrapper.
Constructor Summary | |
---|---|
ConnectionWrapper(Connection connection)
Constructor with connection instance. |
Method Summary | |
---|---|
void |
dispose()
Disposes this source instance. |
Connection |
getConnection()
Obtains the wrapped connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionWrapper(Connection connection)
connection
- the connection to wrap.Method Detail |
---|
public final Connection getConnection()
public void dispose() throws Exception
dispose
in interface Source
Exception
- if some error happens closing the connection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |