- Replace javafx-maven-plugin with maven-compiler-plugin
- Enable -parameters flag for runtime parameter name access
- Add getBeanWithFallback for name-based disambiguation when multiple candidates exist
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add value() to @PostConstruct for execution order control
- Allow @Qualifier on fields for use with @Inject
- Sort @PostConstruct methods by inheritance depth then order value
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Enable @Inject field injection in the bean creation lifecycle. Fields are now injected after constructor injection and before PostConstruct invocation, allowing beans to use both constructor and field injection simultaneously.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Recursively scan parent class hierarchy to collect all @PostConstruct
methods, ensuring parent methods are executed before child methods.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Replace string concatenation with .formatted() method for better readability
- Add StartupStatistics class to track initialization metrics
- Add detailed startup logging with timing information
- Scan time
- IOC time
- Injection time
- PostConstruct time
- Total startup time
- Add banner output support (banner.txt or defBanner.txt)
- Add @Lazy annotation support for lazy initialization
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Fix @Import processing to skip already registered beans from package scan
- Add extractBeanName helper method for bean name extraction
- Set MainController to PROTOTYPE scope to avoid eager initialization
- Add FxDemoTest for testing JavaFX components without GUI
- Test configuration beans, services, and dependency injection
- All JavaFX demo components tested successfully
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add FxMain as JavaFX application entry with IOC integration
- Add FxConfig with @Bean factory methods for DateTimeFormatter
- Add MainController with constructor injection
- Add UserService and MessageService layers
- Add main.fxml view with user management UI
- Add javafx-fxml dependency and javafx-maven-plugin
- Add demo documentation and run script
- Demonstrate @Controller, @Service, @Qualifier, @PostConstruct in JavaFX context
Run with: mvn javafx:run or run-javafx-demo.bat
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add annotation system (@Component, @Service, @Configuration, @Bean, @Inject, @Qualifier, @Primary, @Scope, @PostConstruct, @Import, @TimiInjectApplication)
- Implement BeanContext for managing bean instances and definitions
- Implement BeanScanner for component scanning (file system and jar)
- Implement BeanFactory with constructor injection and lifecycle support
- Support @Configuration and @Bean factory methods
- Support @Qualifier and @Primary for multi-implementation
- Support @Scope (singleton/prototype)
- Support @PostConstruct lifecycle callback
- Support @Import and Module extension
- Add circular dependency detection
- Add dependency graph export
- Add demo and test cases
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>