@Nonnull @Override @Transactional(readOnly = true) public Optional<ObjectNode> getDefinitionMetadataWithInterceptor( @Nonnull final QualifiedName name, final GetMetadataInterceptorParameters getMetadataInterceptorParameters) { //not applying interceptor final Optional<ObjectNode> retData = getDefinitionMetadata(name); retData.ifPresent(objectNode -> this.metadataInterceptor.onRead(this, name, objectNode, getMetadataInterceptorParameters)); return retData; }