pub trait ContextFactory {
// Required method
fn create_context<'a>(
&self,
registry: &'a dyn ComponentDefinitionRegistryFacade,
) -> Box<dyn Context + 'a>;
}Expand description
Factory for contexts for conditional component registration.
Required Methods§
Sourcefn create_context<'a>(
&self,
registry: &'a dyn ComponentDefinitionRegistryFacade,
) -> Box<dyn Context + 'a>
fn create_context<'a>( &self, registry: &'a dyn ComponentDefinitionRegistryFacade, ) -> Box<dyn Context + 'a>
Creates a new context when starting evaluation.