Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. |
Uses of Logger in java.sql |
---|
Modifier and Type | Method and Description |
---|---|
Logger |
Driver.getParentLogger()
Return the parent Logger of all the Loggers used by this driver. |
Uses of Logger in java.util.logging |
---|
Modifier and Type | Field and Description |
---|---|
static Logger |
Logger.global
Deprecated. Initialization of this field is prone to deadlocks. The field must be initialized by the Logger class initialization which may cause deadlocks with the LogManager class initialization. In such cases two class initialization wait for each other to complete. The preferred way to get the global logger object is via the call Logger.getGlobal() .
For compatibility with old JDK versions where the
Logger.getGlobal() is not available use the call
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME)
or Logger.getLogger("global") . |
Modifier and Type | Method and Description |
---|---|
static Logger |
Logger.getAnonymousLogger()
Create an anonymous Logger. |
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Create an anonymous Logger. |
static Logger |
Logger.getGlobal()
Return global logger object with the name Logger.GLOBAL_LOGGER_NAME. |
Logger |
LogManager.getLogger(String name)
Method to find a named logger. |
static Logger |
Logger.getLogger(String name)
Find or create a logger for a named subsystem. |
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Find or create a logger for a named subsystem. |
Logger |
Logger.getParent()
Return the parent for this Logger. |
Modifier and Type | Method and Description |
---|---|
boolean |
LogManager.addLogger(Logger logger)
Add a named logger. |
void |
Logger.setParent(Logger parent)
Set the parent for this Logger. |
Uses of Logger in javax.sql |
---|
Modifier and Type | Method and Description |
---|---|
Logger |
CommonDataSource.getParentLogger()
Return the parent Logger of all the Loggers used by this data source. |
Uses of Logger in javax.sql.rowset.spi |
---|
Modifier and Type | Method and Description |
---|---|
static Logger |
SyncFactory.getLogger()
Returns the logging object for applications to retrieve synchronization events posted by SyncProvider implementations. |
Modifier and Type | Method and Description |
---|---|
static void |
SyncFactory.setLogger(Logger logger)
Sets the logging object to be used by the SyncProvider
implementation provided by the SyncFactory . |
static void |
SyncFactory.setLogger(Logger logger,
Level level)
Sets the logging object that is used by SyncProvider
implementations provided by the SyncFactory SPI. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.