Package org.jboss.logmanager
Class LogContextSelectorService
java.lang.Object
org.jboss.logmanager.LogContextSelectorService
A container-friendly service which will manage the installation of a
LogContextSelector
into the log system. Only one such service
may be active at a time, or an error will result.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the selector to install.void
setSelector
(LogContextSelector selector) Set the selector to install.void
start()
Install the selector.void
stop()
Uninstall the selector.
-
Field Details
-
selector
-
oneInstalled
-
-
Constructor Details
-
LogContextSelectorService
public LogContextSelectorService()
-
-
Method Details
-
getSelector
Get the selector to install.- Returns:
- the selector
-
setSelector
Set the selector to install.- Parameters:
selector
- the selector
-
start
public void start()Install the selector. -
stop
public void stop()Uninstall the selector.
-