UNPKG

@jems/di

Version:

An implementation of IoC pattern based on dependency injection that allows you to granulate and decouple your libraries or applications. Wrote using SOLID principles and a variety OOP patterns implementations.

31 lines (30 loc) 916 B
import { ResolutionConfiguration } from './resolutionConfiguration'; import { ServicingStrategy } from './servicing-strategies/servicingStrategy'; import { DeliveryStrategy } from './delivery-strategies/deliveryStrategy'; /** * Represents a kernel configuration, it define the kernel behavior. */ export declare class KernelConfiguration { /** * Represents the flags that will be avaluated in the alias. */ aliasSufixResolutionConfigurationMap: { [aliasSufix: string]: ResolutionConfiguration; }; /** * Get or set the default servicing strategy. */ defaultServicingStrategy: ServicingStrategy; /** * Get or set the default delivery strategy. */ defaultDeliveryStrategy: DeliveryStrategy; /** * Instance a new kernel configuration. */ constructor(); /** * Load the default flags. */ private loadDefaultFlags(); }