类 ClassDef
java.lang.Object
spring.turbo.bean.classpath.ClassDef
- 所有已实现的接口:
Serializable,Comparable<ClassDef>,org.springframework.beans.BeanMetadataElement,org.springframework.beans.factory.config.BeanDefinition,org.springframework.core.AttributeAccessor
public final class ClassDef
extends Object
implements org.springframework.beans.factory.config.BeanDefinition, Comparable<ClassDef>, Serializable
类路径扫描的结果
- 从以下版本开始:
- 2.0.9
- 作者:
- 应卓
- 另请参阅:
-
BeanDefinition- 序列化表格
-
字段概要
从接口继承的字段 org.springframework.beans.factory.config.BeanDefinition
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON -
构造器概要
构造器构造器说明ClassDef(org.springframework.beans.factory.config.BeanDefinition beanDefinition) 构造方法ClassDef(org.springframework.beans.factory.config.BeanDefinition beanDefinition, ClassLoader classLoader) 构造方法 -
方法概要
修饰符和类型方法说明String[]intboolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) <A extends Annotation>
org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(Class<A> annotationType) <A extends Annotation>
org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(Class<A> annotationType, boolean classValuesAsString) <A extends Annotation>
org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(Class<A> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) getAttribute(String name) Class<?>获取类型org.springframework.beans.factory.config.ConstructorArgumentValuesString[]<A extends Annotation>
org.springframework.core.annotation.MergedAnnotation<A>getMergedAnnotation(Class<A> annotationType) org.springframework.core.annotation.MergedAnnotationsorg.springframework.beans.factory.config.BeanDefinitionorg.springframework.beans.MutablePropertyValues<A extends Annotation>
AgetRequiredAnnotation(Class<A> annotationType) org.springframework.core.ResolvableTypeintgetRole()getScope()booleanhasAttribute(String name) inthashCode()boolean<A extends Annotation>
booleanisAnnotationPresent(Class<A> annotationType) <A extends Annotation>
booleanisAnnotationPresentDirectly(Class<A> annotationType) booleanbooleanbooleanbooleanbooleanremoveAttribute(String name) voidsetAttribute(String name, Object value) voidsetAutowireCandidate(boolean autowireCandidate) voidsetBeanClassName(String beanClassName) voidsetDependsOn(String... dependsOn) voidsetDescription(String description) voidsetDestroyMethodName(String destroyMethodName) voidsetFactoryBeanName(String factoryBeanName) voidsetFactoryMethodName(String factoryMethodName) voidsetInitMethodName(String initMethodName) voidsetLazyInit(boolean lazyInit) voidsetParentName(String parentName) voidsetPrimary(boolean primary) voidsetRole(int role) voidtoString()从接口继承的方法 org.springframework.core.AttributeAccessor
computeAttribute从接口继承的方法 org.springframework.beans.factory.config.BeanDefinition
hasConstructorArgumentValues, hasPropertyValues从接口继承的方法 org.springframework.beans.BeanMetadataElement
getSource
-
构造器详细资料
-
ClassDef
public ClassDef(org.springframework.beans.factory.config.BeanDefinition beanDefinition) 构造方法- 参数:
beanDefinition- beanDefinition实例
-
ClassDef
public ClassDef(org.springframework.beans.factory.config.BeanDefinition beanDefinition, @Nullable ClassLoader classLoader) 构造方法- 参数:
beanDefinition- beanDefinition实例classLoader- 类加载器
-
-
方法详细资料
-
getBeanClass
获取类型- 返回:
- 类型
- 另请参阅:
-
getMergedAnnotations
public org.springframework.core.annotation.MergedAnnotations getMergedAnnotations() -
getMergedAnnotation
public <A extends Annotation> org.springframework.core.annotation.MergedAnnotation<A> getMergedAnnotation(Class<A> annotationType) -
isAnnotationPresent
-
isAnnotationPresentDirectly
-
getAnnotation
-
getRequiredAnnotation
-
getAnnotationAttributes
public <A extends Annotation> org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(Class<A> annotationType) -
getAnnotationAttributes
public <A extends Annotation> org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(Class<A> annotationType, boolean classValuesAsString) -
getAnnotationAttributes
public <A extends Annotation> org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(Class<A> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) -
compareTo
- 指定者:
compareTo在接口中Comparable<ClassDef>
-
toString
-
equals
-
hashCode
public int hashCode() -
getParentName
- 指定者:
getParentName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setParentName
- 指定者:
setParentName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getBeanClassName
- 指定者:
getBeanClassName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setBeanClassName
- 指定者:
setBeanClassName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getScope
- 指定者:
getScope在接口中org.springframework.beans.factory.config.BeanDefinition
-
setScope
- 指定者:
setScope在接口中org.springframework.beans.factory.config.BeanDefinition
-
isLazyInit
public boolean isLazyInit()- 指定者:
isLazyInit在接口中org.springframework.beans.factory.config.BeanDefinition
-
setLazyInit
public void setLazyInit(boolean lazyInit) - 指定者:
setLazyInit在接口中org.springframework.beans.factory.config.BeanDefinition
-
getDependsOn
- 指定者:
getDependsOn在接口中org.springframework.beans.factory.config.BeanDefinition
-
setDependsOn
- 指定者:
setDependsOn在接口中org.springframework.beans.factory.config.BeanDefinition
-
isAutowireCandidate
public boolean isAutowireCandidate()- 指定者:
isAutowireCandidate在接口中org.springframework.beans.factory.config.BeanDefinition
-
setAutowireCandidate
public void setAutowireCandidate(boolean autowireCandidate) - 指定者:
setAutowireCandidate在接口中org.springframework.beans.factory.config.BeanDefinition
-
isPrimary
public boolean isPrimary()- 指定者:
isPrimary在接口中org.springframework.beans.factory.config.BeanDefinition
-
setPrimary
public void setPrimary(boolean primary) - 指定者:
setPrimary在接口中org.springframework.beans.factory.config.BeanDefinition
-
getFactoryBeanName
- 指定者:
getFactoryBeanName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setFactoryBeanName
- 指定者:
setFactoryBeanName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getFactoryMethodName
- 指定者:
getFactoryMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setFactoryMethodName
- 指定者:
setFactoryMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getConstructorArgumentValues
public org.springframework.beans.factory.config.ConstructorArgumentValues getConstructorArgumentValues()- 指定者:
getConstructorArgumentValues在接口中org.springframework.beans.factory.config.BeanDefinition
-
getPropertyValues
public org.springframework.beans.MutablePropertyValues getPropertyValues()- 指定者:
getPropertyValues在接口中org.springframework.beans.factory.config.BeanDefinition
-
getInitMethodName
- 指定者:
getInitMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setInitMethodName
- 指定者:
setInitMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getDestroyMethodName
- 指定者:
getDestroyMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
setDestroyMethodName
- 指定者:
setDestroyMethodName在接口中org.springframework.beans.factory.config.BeanDefinition
-
getRole
public int getRole()- 指定者:
getRole在接口中org.springframework.beans.factory.config.BeanDefinition
-
setRole
public void setRole(int role) - 指定者:
setRole在接口中org.springframework.beans.factory.config.BeanDefinition
-
getDescription
- 指定者:
getDescription在接口中org.springframework.beans.factory.config.BeanDefinition
-
setDescription
- 指定者:
setDescription在接口中org.springframework.beans.factory.config.BeanDefinition
-
getResolvableType
public org.springframework.core.ResolvableType getResolvableType()- 指定者:
getResolvableType在接口中org.springframework.beans.factory.config.BeanDefinition
-
isSingleton
public boolean isSingleton()- 指定者:
isSingleton在接口中org.springframework.beans.factory.config.BeanDefinition
-
isPrototype
public boolean isPrototype()- 指定者:
isPrototype在接口中org.springframework.beans.factory.config.BeanDefinition
-
isAbstract
public boolean isAbstract()- 指定者:
isAbstract在接口中org.springframework.beans.factory.config.BeanDefinition
-
getResourceDescription
- 指定者:
getResourceDescription在接口中org.springframework.beans.factory.config.BeanDefinition
-
getOriginatingBeanDefinition
@Nullable public org.springframework.beans.factory.config.BeanDefinition getOriginatingBeanDefinition()- 指定者:
getOriginatingBeanDefinition在接口中org.springframework.beans.factory.config.BeanDefinition
-
setAttribute
- 指定者:
setAttribute在接口中org.springframework.core.AttributeAccessor
-
getAttribute
- 指定者:
getAttribute在接口中org.springframework.core.AttributeAccessor
-
removeAttribute
- 指定者:
removeAttribute在接口中org.springframework.core.AttributeAccessor
-
hasAttribute
- 指定者:
hasAttribute在接口中org.springframework.core.AttributeAccessor
-
attributeNames
- 指定者:
attributeNames在接口中org.springframework.core.AttributeAccessor
-