@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Bean
{@code
//注解在配置器的函数上| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
delivered
要交付的(特定能力接口交付)
|
String |
destroyMethod
注销方法
|
int |
index
排序(产生之后的同类组件顺序)
|
String |
initMethod
初始化方法
|
boolean |
injected
要注入的
|
String |
name |
int |
priority
Deprecated.
|
String |
tag
标签,用于查找
|
boolean |
typed
要类型的(同时注册类型),仅当名称非空时有效
|
String |
value |
public abstract String tag
@Deprecated public abstract int priority
Condition.priority()public abstract String initMethod
public abstract String destroyMethod
Copyright © 2025. All rights reserved.