public PeriodicHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final PathInfoHandler diskUsagePathHandler, final boolean includeLegacyAttributes) { super(PERIODIC_HANDLER_PATH, PeriodicRotatingFileHandler.class, resolvePathHandler, diskUsagePathHandler, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); } }
public SizeRotatingHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final boolean includeLegacyAttributes) { super(SIZE_ROTATING_HANDLER_PATH, SizeRotatingFileHandler.class, resolvePathHandler, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public FileHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final boolean includeLegacyAttributes) { super(FILE_HANDLER_PATH, FileHandler.class, resolvePathHandler, ( includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public FileHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final PathInfoHandler diskUsagePathHandler, final boolean includeLegacyAttributes) { super(FILE_HANDLER_PATH, FileHandler.class, resolvePathHandler, diskUsagePathHandler, ( includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); } }
public CustomHandlerResourceDefinition(final boolean includeLegacyAttributes) { super(CUSTOM_HANDLE_PATH, null, (includeLegacyAttributes ? Logging.join(ADD_ATTRIBUTES, LEGACY_ATTRIBUTES) : ADD_ATTRIBUTES), READ_ONLY_ATTRIBUTES, (includeLegacyAttributes ? Logging.join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES) : WRITABLE_ATTRIBUTES)); }
public PeriodicHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final PathInfoHandler diskUsagePathHandler, final boolean includeLegacyAttributes) { super(PERIODIC_HANDLER_PATH, PeriodicRotatingFileHandler.class, resolvePathHandler, diskUsagePathHandler, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); } }
public FileHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final PathInfoHandler diskUsagePathHandler, final boolean includeLegacyAttributes) { super(FILE_HANDLER_PATH, FileHandler.class, resolvePathHandler, diskUsagePathHandler, ( includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); } }
public ConsoleHandlerResourceDefinition(final boolean includeLegacyAttributes) { super(CONSOLE_HANDLER_PATH, ConsoleHandler.class, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public CustomHandlerResourceDefinition(final boolean includeLegacyAttributes) { super(CUSTOM_HANDLE_PATH, null, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); } }
public FileHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final boolean includeLegacyAttributes) { super(FILE_HANDLER_PATH, FileHandler.class, resolvePathHandler, null, ( includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public SizeRotatingHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final PathInfoHandler diskUsagePathHandler, final boolean includeLegacyAttributes) { super(SIZE_ROTATING_HANDLER_PATH, SizeRotatingFileHandler.class, resolvePathHandler, diskUsagePathHandler, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public PeriodicHandlerResourceDefinition(final ResolvePathHandler resolvePathHandler, final boolean includeLegacyAttributes) { super(PERIODIC_HANDLER_PATH, PeriodicRotatingFileHandler.class, resolvePathHandler, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public ConsoleHandlerResourceDefinition(final boolean includeLegacyAttributes) { super(CONSOLE_HANDLER_PATH, ConsoleHandler.class, (includeLegacyAttributes ? Logging.join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES)); }
public RootLoggerResourceDefinition(final boolean includeLegacy) { super(ROOT_LOGGER_PATH, ROOT_RESOLVER, (includeLegacy ? new LoggerOperations.LoggerAddOperationStepHandler(join(ATTRIBUTES, LEGACY_ATTRIBUTES)) : new LoggerOperations.LoggerAddOperationStepHandler(ATTRIBUTES)), LoggerOperations.REMOVE_LOGGER); attributes = (includeLegacy ? join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES); addHandler = new LoggerOperations.LoggerAddOperationStepHandler(attributes); writeHandler = new LoggerOperations.LoggerWriteAttributeHandler(attributes); }
public LoggerResourceDefinition(final boolean includeLegacy) { super(LOGGER_PATH, LoggingExtension.getResourceDescriptionResolver(LOGGER), (includeLegacy ? new LoggerOperations.LoggerAddOperationStepHandler(join(ATTRIBUTES, LEGACY_ATTRIBUTES)) : new LoggerOperations.LoggerAddOperationStepHandler(ATTRIBUTES)), LoggerOperations.REMOVE_LOGGER); writableAttributes = (includeLegacy ? join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES) : WRITABLE_ATTRIBUTES); this.writeHandler = new LoggerOperations.LoggerWriteAttributeHandler(writableAttributes); }
StructuredFormatterResourceDefinition(final PathElement pathElement, final String descriptionPrefix, final Class<? extends StructuredFormatter> type, final AttributeDefinition... additionalAttributes) { super( new Parameters(pathElement, LoggingExtension.getResourceDescriptionResolver(descriptionPrefix)) .setAddHandler(new AddStructuredFormatterStepHandler(type, Logging.join(DEFAULT_ATTRIBUTES, additionalAttributes))) .setRemoveHandler(REMOVE) .setCapabilities(Capabilities.FORMATTER_CAPABILITY) ); attributes = Logging.join(DEFAULT_ATTRIBUTES, additionalAttributes); writeHandler = new WriteStructuredFormatterStepHandler(attributes); }
StructuredFormatterResourceDefinition(final PathElement pathElement, final String descriptionPrefix, final Class<? extends StructuredFormatter> type, final AttributeDefinition... additionalAttributes) { super( new Parameters(pathElement, LoggingExtension.getResourceDescriptionResolver(descriptionPrefix)) .setAddHandler(new AddStructuredFormatterStepHandler(type, Logging.join(DEFAULT_ATTRIBUTES, additionalAttributes))) .setRemoveHandler(REMOVE) .setCapabilities(Capabilities.FORMATTER_CAPABILITY) ); attributes = Logging.join(DEFAULT_ATTRIBUTES, additionalAttributes); writeHandler = new WriteStructuredFormatterStepHandler(attributes); }
public RootLoggerResourceDefinition(final boolean includeLegacy) { super(new Parameters(ROOT_LOGGER_PATH, ROOT_RESOLVER) .setAddHandler(includeLegacy ? new LoggerOperations.LoggerAddOperationStepHandler(join(ATTRIBUTES, LEGACY_ATTRIBUTES)) : new LoggerOperations.LoggerAddOperationStepHandler(ATTRIBUTES)) .setRemoveHandler(LoggerOperations.REMOVE_LOGGER) .setCapabilities(Capabilities.LOGGER_CAPABILITY)); attributes = (includeLegacy ? join(ATTRIBUTES, LEGACY_ATTRIBUTES) : ATTRIBUTES); addHandler = new LoggerOperations.LoggerAddOperationStepHandler(attributes); writeHandler = new LoggerOperations.LoggerWriteAttributeHandler(attributes); }
public LoggerResourceDefinition(final boolean includeLegacy) { super(new Parameters(LOGGER_PATH, LoggingExtension.getResourceDescriptionResolver(NAME)) .setAddHandler(includeLegacy ? new LoggerOperations.LoggerAddOperationStepHandler(join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES)) : new LoggerOperations.LoggerAddOperationStepHandler(WRITABLE_ATTRIBUTES)) .setRemoveHandler(LoggerOperations.REMOVE_LOGGER) .setAccessConstraints(new ApplicationTypeAccessConstraintDefinition(new ApplicationTypeConfig(LoggingExtension.SUBSYSTEM_NAME, NAME))) .setCapabilities(Capabilities.LOGGER_CAPABILITY)); writableAttributes = (includeLegacy ? join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES) : WRITABLE_ATTRIBUTES); this.writeHandler = new LoggerOperations.LoggerWriteAttributeHandler(writableAttributes); }
public LoggerResourceDefinition(final boolean includeLegacy) { super(new Parameters(LOGGER_PATH, LoggingExtension.getResourceDescriptionResolver(NAME)) .setAddHandler(includeLegacy ? new LoggerOperations.LoggerAddOperationStepHandler(join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES)) : new LoggerOperations.LoggerAddOperationStepHandler(WRITABLE_ATTRIBUTES)) .setRemoveHandler(LoggerOperations.REMOVE_LOGGER) .setAccessConstraints(new ApplicationTypeAccessConstraintDefinition(new ApplicationTypeConfig(LoggingExtension.SUBSYSTEM_NAME, NAME))) .setCapabilities(Capabilities.LOGGER_CAPABILITY)); writableAttributes = (includeLegacy ? join(WRITABLE_ATTRIBUTES, LEGACY_ATTRIBUTES) : WRITABLE_ATTRIBUTES); this.writeHandler = new LoggerOperations.LoggerWriteAttributeHandler(writableAttributes); }