|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antiaction.mayhem.core.DataSourceImpl
public class DataSourceImpl
JDBC DataSource implementation.
Method Summary
java.sql.ConnectiongetConnection()
java.sql.ConnectiongetConnection(java.lang.String username,
java.lang.String password)
static javax.sql.DataSourcegetDataSource(java.util.HashMap config,
java.util.HashMap props)
intgetLoginTimeout()
java.io.PrintWritergetLogWriter()
voidlort()
voidsetLoginTimeout(int seconds)
voidsetLogWriter(java.io.PrintWriter out)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
getDataSource
public static javax.sql.DataSource getDataSource(java.util.HashMap config,
java.util.HashMap props)
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSource
java.sql.SQLException
getConnection
public java.sql.Connection getConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getConnection in interface javax.sql.DataSource
java.sql.SQLException
setLoginTimeout
public void setLoginTimeout(int seconds)
throws java.sql.SQLException
setLoginTimeout in interface javax.sql.DataSource
java.sql.SQLException
getLoginTimeout
public int getLoginTimeout()
throws java.sql.SQLException
getLoginTimeout in interface javax.sql.DataSource
java.sql.SQLException
getLogWriter
public java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
getLogWriter in interface javax.sql.DataSource
java.sql.SQLException
setLogWriter
public void setLogWriter(java.io.PrintWriter out)
throws java.sql.SQLException
setLogWriter in interface javax.sql.DataSource
java.sql.SQLException
lort
public void lort()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.