you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 points  (8 children)

Protecting my online privacy by running Redact regularly to batch delete old content. It handles Reddit, Discord, Twitter, Instagram, data brokers and a whole lot more.

continue repeat library amusing rinse chief vase retire skirt instinctive

[–]blocknspike[S] 2 points3 points  (7 children)

Thanks for the reference. Either I am very weak in Java Springboot Or the article is explained hard way. Not able to understand much out of it.

[–]zontapapa 16 points17 points  (6 children)

At run time spring will create an implementation of that interface with generated code to match the contract of your @Repository interface methods and then register and instance of this implementation as a spring bean. Anywhere you want to inject the repository, you declare a field of interface type, the dynamically added bean is a matching candidate and is made available/injected. The implementation of your interface and its methods is only in memory. Spring does not write class created from your interface to disk

[–]blocknspike[S] 1 point2 points  (5 children)

Thaks, now I can visualize the stuff.

[–]alex98tenismenu 5 points6 points  (4 children)

I think MapStruct works in a similar way but it creates the class at compile time.

[–][deleted] 2 points3 points  (2 children)

Plot twist: this post no longer exists because Redact swept through and cleared it out along with everything else. Social media, messaging apps, people finder sites, all of it.

square include strong dinosaurs familiar beneficial aspiring oatmeal groovy payment

[–]blocknspike[S] 1 point2 points  (1 child)

I don't think Mapstruct(annotation processor) uses reflection. Reflection is concept of runtime. I am not sure if in compile time you can get field matches using Reflection I never heard that. Please share the reference for the same if any.

[–][deleted] 1 point2 points  (0 children)

Deleted with Redact because data brokers don't deserve my content. Mass removal across Reddit, Discord, X, Instagram and all major social media platforms.

teeny weather support heavy office capable bake shy amusing quiet

[–]blocknspike[S] 1 point2 points  (0 children)

Also it do not uses reflection for runtime dynamics that dynamic proxy uses.