Uses of Class
org.jboss.logmanager.Logger.AttachmentKey
Packages that use Logger.AttachmentKey
-
Uses of Logger.AttachmentKey in org.jboss.logmanager
Fields in org.jboss.logmanager declared as Logger.AttachmentKeyModifier and TypeFieldDescriptionstatic final Logger.AttachmentKey<Configurator> Configurator.ATTACHMENT_KEYThe attachment key of the chosen configurator, used to maintain a strong ref to any configured properties.Fields in org.jboss.logmanager with type parameters of type Logger.AttachmentKeyModifier and TypeFieldDescriptionprivate Map<Logger.AttachmentKey, Object> LoggerNode.attachmentsThe attachments map.Methods in org.jboss.logmanager with parameters of type Logger.AttachmentKeyModifier and TypeMethodDescription<V> VLogger.attach(Logger.AttachmentKey<V> key, V value) Attach an object to this logger under a given key.(package private) <V> VLoggerNode.attach(Logger.AttachmentKey<V> key, V value) <V> VLogger.attachIfAbsent(Logger.AttachmentKey<V> key, V value) Attach an object to this logger under a given key, if such an attachment does not already exist.(package private) <V> VLoggerNode.attachIfAbsent(Logger.AttachmentKey<V> key, V value) <V> VLogger.detach(Logger.AttachmentKey<V> key) Remove an attachment.<V> VLoggerNode.detach(Logger.AttachmentKey<V> key) <V> VLogContext.getAttachment(String loggerName, Logger.AttachmentKey<V> key) Get a logger attachment for a logger name, if it exists.<V> VLogger.getAttachment(Logger.AttachmentKey<V> key) Get the attachment value for a given key, ornullif there is no such attachment.(package private) <V> VLoggerNode.getAttachment(Logger.AttachmentKey<V> key)