pub fn new_root(
        environment: Environment,
        context: Weak<ModelContext>,
        component_manager_instance: Weak<ComponentManagerInstance>,
        component_url: String,
    ) -> Arc<Self> {
        Self::new(
            Arc::new(environment),
            AbsoluteMoniker::root(),
            component_url,
            fsys::StartupMode::Lazy,
            WeakModelContext::new(context),
            WeakExtendedInstance::AboveRoot(component_manager_instance),
            Arc::new(Hooks::new(None)),
        )
    }
/// Instantiates a new root component instance.
Instantiates a new root component instance.
Instantiates a new root component instance .
pub fn new_root(
        environment: Environment,
        context: Weak<ModelContext>,
        component_manager_instance: Weak<ComponentManagerInstance>,
        component_url: String,
    ) -> Arc<Self> {
        Self::new(
            Arc::new(environment),
            AbsoluteMoniker::root(),
            component_url,
            fsys::StartupMode::Lazy,
            WeakModelContext::new(context),
            WeakExtendedInstance::AboveRoot(component_manager_instance),
            Arc::new(Hooks::new(None)),
        )
    }
pub fn new_root ( environment : Environment , context : Weak < ModelContext > , component_manager_instance : Weak < ComponentManagerInstance > , component_url : String , ) -> Arc < Self > { Self :: new ( Arc :: new ( environment ) , AbsoluteMoniker :: root ( ) , component_url , fsys :: StartupMode :: Lazy , WeakModelContext :: new ( context ) , WeakExtendedInstance :: AboveRoot ( component_manager_instance ) , Arc :: new ( Hooks :: new ( None ) ) , ) }
Instantiates a new root component instance.
Instantiates a new root component instance .
environment
Environment
context
Weak<ModelContext>
component_manager_instance
Weak<ComponentManagerInstance>
component_url
String
environment
Environment
context
Weak<ModelContext>
component_manager_instance
Weak<ComponentManagerInstance>
component_url
String