站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

Configurable (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.beans.factory.annotation
Annotation Type Configurable


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
@Inherited
public @interface Configurable

Marks a class as being eligible for Spring-driven configuration.

Typically used with the AspectJ AnnotationBeanConfigurerAspect.

Since:
2.0
Author:
Rod Johnson, Rob Harrop, Adrian Colyer

Optional Element Summary
 Autowire autowire
          Are dependencies to be injected via autowiring?
 boolean dependencyCheck
          Is dependency checking to be performed for configured objects?
 String value
          The name of the bean definition that serves as the configuration template.
 

value

public abstract String value
The name of the bean definition that serves as the configuration template.

Default:
""

autowire

public abstract Autowire autowire
Are dependencies to be injected via autowiring?

Default:
NO

dependencyCheck

public abstract boolean dependencyCheck
Is dependency checking to be performed for configured objects?

Default:
false

The Spring Framework

Copyright © 2002-2007 The Spring Framework.