Class LoggerInfoMetadataService
- java.lang.Object
-
- com.sun.enterprise.server.logging.LoggerInfoMetadataService
-
- All Implemented Interfaces:
com.sun.enterprise.module.ModuleChangeListener,LoggerInfoMetadata
@Service @Singleton public class LoggerInfoMetadataService extends Object implements LoggerInfoMetadata, com.sun.enterprise.module.ModuleChangeListener
-
-
Constructor Summary
Constructors Constructor Description LoggerInfoMetadataService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchanged(com.sun.enterprise.module.HK2Module sender)StringgetDescription(String logger)Gets the description for the named logger.StringgetDescription(String logger, Locale locale)Get description for the named logger for given localeSet<String>getLoggerNames()Provides a set of logger names for which additional metadata is available.StringgetSubsystem(String logger)Gets the subsystem grouping to which a specified logger belongs.booleanisPublished(String logger)Gets whether the specified logger is to be included in the public doc.
-
-
-
Method Detail
-
getDescription
public String getDescription(String logger)
Description copied from interface:LoggerInfoMetadataGets the description for the named logger.- Specified by:
getDescriptionin interfaceLoggerInfoMetadata- Returns:
-
getDescription
public String getDescription(String logger, Locale locale)
Description copied from interface:LoggerInfoMetadataGet description for the named logger for given locale- Specified by:
getDescriptionin interfaceLoggerInfoMetadata- Returns:
-
getLoggerNames
public Set<String> getLoggerNames()
Description copied from interface:LoggerInfoMetadataProvides a set of logger names for which additional metadata is available.- Specified by:
getLoggerNamesin interfaceLoggerInfoMetadata- Returns:
-
getSubsystem
public String getSubsystem(String logger)
Description copied from interface:LoggerInfoMetadataGets the subsystem grouping to which a specified logger belongs.- Specified by:
getSubsystemin interfaceLoggerInfoMetadata- Returns:
-
isPublished
public boolean isPublished(String logger)
Description copied from interface:LoggerInfoMetadataGets whether the specified logger is to be included in the public doc.- Specified by:
isPublishedin interfaceLoggerInfoMetadata- Returns:
trueif the logger is to be documented otherwisefalsefor internal fine-grained loggers.
-
changed
public void changed(com.sun.enterprise.module.HK2Module sender)
- Specified by:
changedin interfacecom.sun.enterprise.module.ModuleChangeListener
-
-