| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.orange.util.integration.JDBCConnectionFactory | +--org.orange.util.integration.J2EEJDBCConnectionFactory
JDBC Connection factory for JDBCDAO in a J2EE environment.
This class lookups DataSources whose reference name (without "java:comp/env/jdbc" prefix)
is specified as value for the DATASOURCE_NAME key in the class Preferences.
| Field Summary | |
final static String | DATASOURCE_NAMENom de la DataSource recherchée. |
(package private) Context | namingContext |
| Constructor Summary | |
J2EEJDBCConnectionFactory(Preferences somePreferences) | |
| Method Summary | |
Connection | getConnection()Get a database connection |
| Field Detail |
public final static String DATASOURCE_NAME
Context namingContext
| Constructor Detail |
public J2EEJDBCConnectionFactory(Preferences somePreferences)
throws DAOException
| Method Detail |
public Connection getConnection()
throws java.sql.SQLException
| Association Links |
to Class javax.naming.Context
to Class javax.sql.DataSource
to Class javax.servlet.ServletContext
to Class org.orange.util.integration.J2EEJDBCConnectionFactory
| Dependency Links |
to Class java.lang.String
to Class java.lang.Class
to Class org.orange.util.Preferences
to Class org.orange.util.integration.DAOException
to Class org.orange.util.Assert
to Class org.orange.util.J2EEConstants
to Class javax.naming.InitialContext
to Class javax.sql.DataSource
to Class javax.naming.NameNotFoundException
to Class java.lang.Exception
to Class java.sql.Connection
to Class java.sql.SQLException
to Class javax.naming.Context
to Class javax.naming.NamingException
to Class javax.servlet.ServletContext
to Class Diagram org.orange.util.integration
to Class Diagram org.orange.util
to Class Diagram org.orange
to Class Diagram org
to Class Diagram <default>
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||