spring-framework / org.springframework.context.annotation / Description

Description

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class Description

Adds a textual description to bean definitions derived from org.springframework.stereotype.Component or Bean.

Author
Juergen Hoeller

Since
4.0

See Also
org.springframework.beans.factory.config.BeanDefinition#getDescription()

Constructors

<init>

Description(value: String)

Adds a textual description to bean definitions derived from org.springframework.stereotype.Component or Bean.

Properties

value

val value: String

The textual description to associate with the bean definition.