@Override
protected boolean isValueDiscardable(PathAddress address, String attributeName, ModelNode attributeValue, TransformationContext context) {
return (attributeValue.isDefined() && attributeValue.equals(new ModelNode(1)));
}
};
DefaultCheckersAndConverter checkersAndConverter = new DefaultCheckersAndConverter() {
@Override
public String getRejectionLogMessage(Map<String, ModelNode> attributes) {
return InfinispanLogger.ROOT_LOGGER.segmentsDoesNotSupportExpressions();
}