ConnectionFactorypublic final class JNDIConnectionFactory extends java.lang.Object implements ConnectionFactory
| Constructor | Description | 
|---|---|
JNDIConnectionFactory(Jndi jndi,
                     boolean useProxies) | 
 Constructs a new JNDIConnectionFactory with given database and mapping. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
java.sql.Connection | 
createConnection() | 
 Creates a new JDBC Connection instance. 
 | 
void | 
initializeFactory() | 
 Initialize the concrete factory. 
 | 
public JNDIConnectionFactory(Jndi jndi,
                             boolean useProxies)
jndi - JNDI configuration.useProxies - Wrap JDBC connections by proxies?public void initializeFactory()
                       throws MappingException
initializeFactory in interface ConnectionFactoryMappingException - If concrete factory could not be initialized.public java.sql.Connection createConnection()
                                     throws java.sql.SQLException
createConnection in interface ConnectionFactoryjava.sql.SQLException - If the JDBC connection cannot be created.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com