|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Handler
Handler is an output. For example a handler might be a console, a file, a socket, or a Logger.
| Field Summary | |
|---|---|
static String |
APPEND_MODE_ATTRIBUTE
|
static String |
BUFFER_ATTRIBUTE
|
static byte |
CONSOLE_HANDLER_TYPE
Deprecated. the type is a string now: "console" |
static byte |
FILE_HANDLER_TYPE
Deprecated. the type is a string now: "file" |
static String |
FILE_NUMBER_ATTRIBUTE
|
static byte |
GENERIC_HANDLER_TYPE
Deprecated. the type is a string now: "generic" |
static byte |
JMX_HANDLER_TYPE
Deprecated. the type is a string now: "logger" |
static String |
LEVEL_ATTRIBUTE
|
static byte |
LOGGER_HANDLER_TYPE
Deprecated. the type is a string now: "logger" |
static String |
MAX_SIZE_ATTRIBUTE
|
static String |
OUTPUT_ATTRIBUTE
|
static String |
PATTERN_ATTRIBUTE
|
static byte |
ROLLING_FILE_HANDLER_TYPE
This constant is used to represent an handler which stores message into several files. |
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
It retrieves the value of an attribute value of the handler. |
String[] |
getAttributeNames()
It retrieves the attributes of the handler |
String |
getName()
It retrieves the name of the handler |
String |
getType()
It retrieves the Handler type |
Object |
setAttribute(String name,
Object value)
It assigns an attributte to the handler. |
void |
setName(String name)
It assigns the name of the handler |
| Field Detail |
|---|
static final byte FILE_HANDLER_TYPE
static final byte CONSOLE_HANDLER_TYPE
static final byte ROLLING_FILE_HANDLER_TYPE
static final byte GENERIC_HANDLER_TYPE
static final byte LOGGER_HANDLER_TYPE
static final byte JMX_HANDLER_TYPE
static final String OUTPUT_ATTRIBUTE
static final String PATTERN_ATTRIBUTE
static final String LEVEL_ATTRIBUTE
static final String APPEND_MODE_ATTRIBUTE
static final String FILE_NUMBER_ATTRIBUTE
static final String MAX_SIZE_ATTRIBUTE
static final String BUFFER_ATTRIBUTE
| Method Detail |
|---|
String getName()
void setName(String name)
String getType()
String[] getAttributeNames()
Object getAttribute(String name)
name - is an attribute name
Object setAttribute(String name,
Object value)
name - is the attribute namevalue - is the attribute value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||