package org.theonefx.wcframework.ioc.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.theonefx.wcframework.ioc.BeanDefinition;
/**
* @File : Bean.java
* @ClassName : Bean
* @Author : 陈曦
* @Date : 2012年1月30日23:10:12
* @Version : v1.0
* @Description : 注解:资源,代表了配置文件中的一个bean标签
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Bean {
public String id() default "";
public String scope() default BeanDefinition.SCOPE_SINGLETON;
public boolean lazyinit() default true;
public Inject[] args() default {};
}