@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface Localization
因此 MessageLoader 必须有一个参数为 String 的构造函数
Modifier and Type | Required Element and Description |
---|---|
String |
value |
Modifier and Type | Optional Element and Description |
---|---|
String |
beanName |
String |
defaultLocalizationKey |
Class<? extends MessageLoader> |
type |
public abstract String value
public abstract Class<? extends MessageLoader> type
public abstract String beanName
public abstract String defaultLocalizationKey
Copyright © 2017. All rights reserved.