Skip to main content
Version: 0.5.0

Container module metadata

Represents configuration to build and load a container module.

ContainerModuleMetadata can be of four different different kinds:

ContainerModuleFactoryMetadata

Represents a container module to be built using a factory.

PropertyDescriptionType
idContainerModuleMetadata idContainerModuleMetadataId
importsDependencies required to build the moduleContainerModuleMetadata[]
factoryFunction to build the moduleFunction
injectsServices to be passed as argumentsServiceId[]

ContainerModuleClassMetadata

Represents a container module to be built using a decorated ContainerModule class.

PropertyDescriptionType
idContainerModuleMetadata idContainerModuleMetadataId
importsDependencies required to build the moduleContainerModuleMetadata[]
moduleContainerModuleMetadaClass to be loadedNewable<ContainerModuleMetadata>

ContainerModule

Represents a ContainerModule instance to be loaded. Equivalent to a ContainerModuleFactoryMetadata with a factory with no arguments returning the module.

Newable<ContainerModule>

Represents a ContainerModule class to be instantiated in order to load a container module. Equivalent to a ContainerModuleClassMetadata with no the class as module.