@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Preview(value="3.4") public @interface Managed
{@code
//注解在类上(生产托管 Bean,支持动态代理机制)| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
autoInject
自动注入(用于托管方法时)
|
boolean |
delivered
要交付的(特定能力接口交付)
|
String |
destroyMethod
注销方法(用于托管方法时)
|
int |
index
排序(产生之后的同类组件顺序)
|
String |
initMethod
初始化方法(用于托管方法时)
|
String |
name |
String |
tag
标签,用于查找
|
boolean |
typed
同时注册类型,仅当名称非空时有效
|
String |
value |
Copyright © 2025. All rights reserved.