|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.db.DbGlobal
public class DbGlobal
Db globals.
| Field Summary | |
|---|---|
static ConnectionManager |
connectionManager
the default connection manager if not explicitly given for a Db |
static ErrorHandler |
errorHandler
the error handler |
static Logger |
logger
Default logger for the db-package |
static Db |
serverDb
If this is an application server, the server's Db should be set here to enable certain optimizations between the clients and the server. |
static DbPool |
serverDbPool
If this is an application server and if a DbPool is used, it must be set here. |
| Constructor Summary | |
|---|---|
DbGlobal()
|
|
| Method Summary | |
|---|---|
static boolean |
isServer()
Determines whether this is an application server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ConnectionManager connectionManager
public static Db serverDb
public static DbPool serverDbPool
public static Logger logger
public static ErrorHandler errorHandler
| Constructor Detail |
|---|
public DbGlobal()
| Method Detail |
|---|
public static boolean isServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||