7 रिपॉजिटरी
Language-level patterns using partial classes to add methods to generated code without modifying the source.
Distinct from Extension Methods: Specifically uses the partial class pattern for generated code maintenance, distinct from general extension methods.
Explore 7 awesome GitHub repositories matching programming languages & runtimes · Partial Class Extensions. Refine with filters or upvote what's useful.
This is a learning resource that explains the Spring Framework through source code analysis and practical examples. It covers the foundational principles of Inversion of Control and Dependency Injection, demonstrating how the IoC container manages bean definitions, dependency injection, and lifecycle callbacks. The material also explores Spring's Aspect-Oriented Programming implementation, showing how cross-cutting concerns like logging and security are handled through proxy-based weaving. The resource provides walkthroughs of Spring Boot's automatic configuration mechanism, detailing how con
Scans the classpath for annotated classes and automatically registers them as beans in the application context.
NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera
Adds custom methods or overrides request logic using partial classes to avoid modifying auto-generated code.
mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle of beans, including instantiation, property population, and scope management, while providing a system for automating the wiring of components. The project implements a Java AOP framework that uses dynamic proxies to intercept method calls for cross-cutting logic. It also functions as a Java component scanner to automatically discover and register managed objects via annotations and as a Java event bus to decouple components through a publish-subscribe multicast system. The
Automatically discovers and registers managed objects by scanning classpath packages for specific annotations.
Querydsl is a framework for the construction of type-safe queries. It uses a fluent API and annotation-based code generation to create mirror classes from domain models, enabling compile-time validation of database queries and removing the need for manual string concatenation. The project provides a unified query syntax that translates into specific dialects for multiple backends, including SQL, MongoDB, Lucene, and JDO. It supports advanced query capabilities such as common table expressions, window functions, geospatial operations, and complex nested subqueries. Beyond data retrieval, the
Scans the project classpath for annotated classes to automatically identify entities for query type generation.
Small-Spring, Spring फ्रेमवर्क का एक सरलीकृत जावा कार्यान्वयन है जिसे इनवर्जन ऑफ कंट्रोल कंटेनर और डिपेंडेंसी इंजेक्शन फ्रेमवर्क के आंतरिक आर्किटेक्चर का अध्ययन करने के लिए डिज़ाइन किया गया है। यह एक बीन कंटेनर के रूप में कार्य करता है जो ऑब्जेक्ट लाइफसाइकिल को प्रबंधित करता है और ऑटोमेटेड इंस्टेंटिएशन व प्रॉपर्टी इंजेक्शन के माध्यम से डिपेंडेंसी को हल करता है। यह प्रोजेक्ट एस्पेक्ट-ओरिएंटेड प्रोग्रामिंग का समर्थन करने के लिए डायनेमिक प्रॉक्सी का उपयोग करके मेथड कॉल्स को इंटरसेप्ट करने का एक तंत्र लागू करता है। यह मेथड निष्पादन को संशोधित करने के लिए टारगेट ऑब्जेक्ट्स को रैप करके क्रॉस-कटिंग चिंताओं को बिजनेस लॉजिक से अलग करता है। यह सिस्टम क्लासपाथ स्कैनिंग और बाहरी संसाधन लोडिंग (XML कॉन्फ़िगरेशन पार्सिंग सहित) के माध्यम से कंपोनेंट डिस्कवरी को कवर करता है। इसमें एप्लिकेशन कॉन्टेक्स्ट मैनेजमेंट, बीन स्कोप कंट्रोल और सिस्टम इवेंट्स व लाइफसाइकिल हुक्स को संभालने के लिए ऑब्जर्वर पैटर्न पर आधारित एक इवेंट डिस्पैचिंग सिस्टम शामिल है।
Provides automatic discovery and registration of managed beans by scanning the classpath for annotations.
Reflections एक Java क्लासपाथ स्कैनिंग लाइब्रेरी और मेटाडेटा इंडेक्सर है जिसे रनटाइम पर क्लासेस, मेथड्स और रिसोर्सेज का पता लगाने के लिए डिज़ाइन किया गया है। यह एनोटेशन डिस्कवरी और टाइप पदानुक्रम विश्लेषण के लिए एक टूल के रूप में कार्य करता है, जो सिस्टम को विशिष्ट एनोटेशन के साथ चिह्नित तत्वों की पहचान करने या Java वर्चुअल मशीन के भीतर सुपर-टाइप्स और सबटाइप्स को हल करने की अनुमति देता है। यह प्रोजेक्ट मेटाडेटा सीरियलाइज़ेशन के माध्यम से खुद को अलग करता है, जो स्कैन किए गए इंडेक्स को पर्सिस्टेंट फ़ाइलों या सोर्स कोड में सहेजने के लिए तंत्र प्रदान करता है। यह क्षमता बार-बार, महंगे क्लासपाथ स्कैन की आवश्यकता को समाप्त करके एप्लिकेशन स्टार्टअप ओवरहेड को कम करती है। लाइब्रेरी हस्ताक्षर और एक्सेस मॉडिफायर्स के आधार पर क्लास मेंबर्स की इंडेक्सिंग, नॉन-बाइटकोड रिसोर्स फ़ाइलों की खोज, और टाइप सिस्टम मेटाडेटा को फ़िल्टर और ट्रांसफ़ॉर्म करने के लिए फंक्शनल क्वेरी कंपोज़िशन के उपयोग सहित व्यापक क्षमता क्षेत्रों को कवर करती है। यह बेहतर परफॉरमेंस के लिए स्कैन सीमाओं और समावेशन पैटर्न को परिभाषित करने के लिए कॉन्फ़िगरेशन यूटिलिटीज भी प्रदान करती है।
Restricts the metadata index to specific packages or files using inclusion patterns to improve scan speed.
HotswapAgent is a Java runtime instrumentation agent and bytecode redefinition tool designed to apply code changes to running applications instantly. It functions as a hot swap utility and classloader extender that modifies method bodies and updates class definitions without requiring a process restart. The project distinguishes itself as a framework state synchronizer, ensuring that beans, caches, and configurations remain consistent after class redefinitions. It provides specialized mechanisms to refresh managed beans, dependency injection points, and persistence factories, allowing logic c
Adds external directories to the classloader to watch for and load classes located outside primary archives.