This commit is contained in:
RedKale
2016-04-08 17:39:31 +08:00
parent e57d3d391c
commit 45afb89e5a

View File

@@ -5,12 +5,15 @@
*/ */
package org.redkale.util; package org.redkale.util;
import java.lang.annotation.*;
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.*;
/** /**
* 显式的指明资源类型 * 显式的指明资源类型
* 调用ResourceFactory.register(Object rs)时通常执行的是ResourceFactory.register(rs.getClass(), Object rs);
* 若rs.getClass()的类标记了@ResourceType, 则使用@ResourceType.value()的class值进行注入。
*
* <p> * <p>
* 详情见: http://www.redkale.org * 详情见: http://www.redkale.org
* *