This commit is contained in:
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user