提交 c66326d6 编写于 作者: sinat_25235033's avatar sinat_25235033

delete FactoryBean

上级 4051574e
package com.usthe.sureness.mgt;
/**
* the description of this class
* @author tomsun28
* @date 15:15 2019-03-03
*/
public interface FactoryBean<T> {
/**
* description 获取对应实例的bean
*
* @return T
* @throws Exception how
*/
T getObject() throws Exception;
/**
* description 获取对应实例的type
*
* @return java.lang.Class<?>
*/
Class<?> getObjectType();
/**
* description 是否为单实例
*
* @return boolean
*/
default boolean isSingleton() {
return true;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册