public enum BeanCache extends Enum<BeanCache>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
清空全局的Bean属性缓存
|
BeanDesc |
getBeanDesc(Class<?> beanClass,
Func0<BeanDesc> supplier)
获得属性名和
BeanDescMap映射 |
static BeanCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanCache INSTANCE
public static BeanCache[] values()
for (BeanCache c : BeanCache.values()) System.out.println(c);
public static BeanCache valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic BeanDesc getBeanDesc(Class<?> beanClass, Func0<BeanDesc> supplier)
BeanDescMap映射beanClass - Bean的类supplier - 对象不存在时创建对象的函数BeanDesc映射public void clear()
Copyright © 2022. All rights reserved.