class

LF::DI::AbstractApplicationContext

Inherits LF::DI::ApplicationContext < Reference < Object

Constructors

new(parent : AbstractApplicationContext, scope : String)
Source

Instance methods

add_bean(*, name : String, scope : String = "singleton", type : T.class, &factory : Proc(ApplicationContext, T)) forall T
Source
enter_scope(scope : String)
Source
exit
Source
get_bean(name : String, type : T.class) : T forall T
Source
get_bean_instance(name : String, type : T.class, caller : AbstractApplicationContext | Nil = nil) : BeanInstanceImpl(T) forall T
Source
has_key?(name : String) : Bool
Source
parent
Source
register(config : ApplicationConfig)
Source
resolve_dependency(name : String, type : T.class) : T forall T
Source
scope
Source
shutdown
Source
to_t(name : String, type : T.class) : T forall T
Source