Module org.glassfish.main.jul
Package org.glassfish.main.jul.handler
Class BlockingExternallyManagedLogHandler
java.lang.Object
java.util.logging.Handler
org.glassfish.main.jul.handler.BlockingExternallyManagedLogHandler
- All Implemented Interfaces:
ExternallyManagedLogHandler
public class BlockingExternallyManagedLogHandler
extends Handler
implements ExternallyManagedLogHandler
A very special
Handler useful to preinitialize the GlassFishLogManager but block
LogRecord processing until it is explicitly reconfigured.- Author:
- David Matejcek
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
BlockingExternallyManagedLogHandler
public BlockingExternallyManagedLogHandler()
-
-
Method Details
-
isReady
public boolean isReady()- Specified by:
isReadyin interfaceExternallyManagedLogHandler- Returns:
- true if the configuration is complete and the handler is capable to immediately start processing the data.
-
publish
-
flush
public void flush() -
close
- Specified by:
closein classHandler- Throws:
SecurityException
-