-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Labels
dependency-injectionfactoriesFactory pattern implementationFactory pattern implementationphase-2task
Description
Create factory patterns for complex object creation (scanners, agents, actuators, widgets).
Acceptance Criteria:
- IScannerFactory interface and implementation
- IAgentFactory interface and implementation
- IActuatorFactory interface and implementation
- IWidgetFactory interface and implementation
- Factories registered in DI container
- Existing creation code refactored to use factories
- Tests for factory implementations
Technical Approach:
- Factory per component type
- Factory receives IServiceProvider for dependency resolution
- Support for type-based and name-based instantiation
- Proper error handling for missing types
Files to Create:
Libraries/ACATCore/PanelManagement/IScannerFactory.csLibraries/ACATCore/PanelManagement/ScannerFactory.cs- Similar for agents, actuators, widgets
Epic: Dependency Injection Infrastructure
Estimated Effort: 4 days
Parent Feature: #190 - Dependency Injection Infrastructure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependency-injectionfactoriesFactory pattern implementationFactory pattern implementationphase-2task