ContextFactory

Trait ContextFactory 

Source
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§

Source

fn create_context<'a>( &self, registry: &'a dyn ComponentDefinitionRegistryFacade, ) -> Box<dyn Context + 'a>

Creates a new context when starting evaluation.

Implementors§