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§

factory

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)]

Derive Macros§

ActorComponent
Component
InjectComponent