Crate bean_factory
source ·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
- Enter an element into the plugin registry corresponding to its type.
Structs
- The address of an actor.
Traits
- Describes how to handle messages of a specific type.
Functions
- 只注册不初始化 用于想要二次处理bean的场景
- 注册所有声明的beans,并初始化工场,开始注入依赖Bean
Type Aliases
- An iterator over plugins registered of a given type.
Attribute Macros
- Full feature example:
#[bean(actor, inject)]