net.ontopia.persistence.proxy
Class JNDIConnectionFactory
java.lang.Object
net.ontopia.persistence.proxy.JNDIConnectionFactory
- All Implemented Interfaces:
- ConnectionFactoryIF
public class JNDIConnectionFactory
- extends Object
- implements ConnectionFactoryIF
INTERNAL: Connection factory that retrieves javax.sql.DataSource
from the JNDI environment given a JNDI name.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propname
protected static final String propname
- See Also:
- Constant Field Values
jndiname
protected String jndiname
JNDIConnectionFactory
public JNDIConnectionFactory(String jndiname)
JNDIConnectionFactory
public JNDIConnectionFactory(Map properties)
requestConnection
public Connection requestConnection()
throws SQLException
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Requests a new connection object.
- Specified by:
requestConnection
in interface ConnectionFactoryIF
- Throws:
SQLException
close
public void close()
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Closes the connection factory.
- Specified by:
close
in interface ConnectionFactoryIF
Copyright © 2000-2012 Ontopia.