public class JmsHandler
extends java.util.logging.Handler
Constructor and Description |
---|
JmsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(Destination target)
Adds a target (queue or jms destination)
|
void |
close()
Closes the handler.
|
void |
flush()
Flushes the buffer.
|
void |
init()
Initialize the handler
|
void |
publish(java.util.logging.LogRecord record)
Publishes the record.
|
void |
setConnectionFactory(ConnectionFactory factory)
Sets the connection factory
|
java.lang.String |
toString() |
public void setConnectionFactory(ConnectionFactory factory)
public void addTarget(Destination target)
@PostConstruct public void init() throws ConfigException
ConfigException
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close()
close
in class java.util.logging.Handler
public java.lang.String toString()
toString
in class java.lang.Object