Re-exports§
pub use factory::model::BeanDefinition;
pub use factory::model::FactoryData;
pub use factory::model::FactoryEvent;
pub use factory::model::Inject;
pub use factory::BeanFactory;
pub use factory::BeanFactoryCore;
Modules§
Macros§
- submit
- Enter an element into the plugin registry corresponding to its type.
Structs§
- Addr
- The address of an actor.
Traits§
- Handler
- Describes how to handle messages of a specific type.
Functions§
- get_
bean_ definitions - register_
beans - 只注册不初始化 用于想要二次处理bean的场景
- setup_
submitted_ beans - 注册所有声明的beans,并初始化工场,开始注入依赖Bean
Type Aliases§
- iter
- An iterator over plugins registered of a given type.
Attribute Macros§
- bean
- Full feature example:
#[bean(actor, inject)]