|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.db.ConnectionSourceFactory
public class ConnectionSourceFactory
Get a connection source from a config.
| Method Summary | |
|---|---|
ConnectionSource |
getConnectionSource(SpyConfig conf)
Get a connection source by name. |
static ConnectionSourceFactory |
getInstance()
Get the singleton ConnectionSourceFactory instance. |
static void |
setInstance(ConnectionSourceFactory to)
Set the singleton instance. |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectionSourceFactory getInstance()
public static void setInstance(ConnectionSourceFactory to)
public ConnectionSource getConnectionSource(SpyConfig conf)
conf - configuration specifying how to get the source
RuntimeException - if the specified connection source
cannot be instantiated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||