Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jbreport.data
Interface PhysicalConnection  view PhysicalConnection download PhysicalConnection.java

All Known Implementing Classes:
JavaPhysicalConnection, JDBCPhysicalConnection

public interface PhysicalConnection

This interface defines the contract that is required for the class to be pluggable into a Datasource instance.

Any classes implementing this method should have a public no-args constructor which can be used by the datasource.

Version:
$Revision: 1.1.1.1 $

Method Summary
 java.sql.Connection getConnection()
          Returns the database connection to the caller
 void initialize(java.lang.String datasourceType, java.util.Map properties)
          This method is called once, just after the instance is created.
 

Method Detail

initialize

public void initialize(java.lang.String datasourceType,
                       java.util.Map properties)
                throws jbreport.ReportException
This method is called once, just after the instance is created. It should use the parameters in the map to initialize itself as appropriate.


getConnection

public java.sql.Connection getConnection()
                                  throws jbreport.ReportException
Returns the database connection to the caller