@@ -19,6 +19,7 @@ package com.jfinal.json;
/**
* IJsonFactory.
*/
+@FunctionalInterface
public interface IJsonFactory {
Json getJson();
}
@@ -30,6 +30,7 @@ import java.sql.SQLException;
* return result1 == 1 && result2 == 1;<br>
* }});
public interface IAtom {
@@ -22,6 +22,7 @@ import java.sql.SQLException;
* ICallback provide a JDBC Connection if you need it or the active record plugin can not satisfy you requirement.
public interface ICallback {
@@ -26,6 +26,7 @@ package com.jfinal.plugin.activerecord;
*
* 注意:每个 ActiveRecordPlugin 对象拥有独立的 IDbProFactory 对象,多数据源使用时注意要对每个 arp 进行配置
public interface IDbProFactory {
DbPro getDbPro(String configName);
@@ -21,6 +21,7 @@ import javax.servlet.http.HttpServletRequest;
* 授权
public interface IDruidStatViewAuth {
boolean isPermitted(HttpServletRequest request);
@@ -27,6 +27,7 @@ package com.jfinal.plugin.ehcache;
* </pre>
public interface IDataLoader {
public Object load();
@@ -21,6 +21,7 @@ package com.jfinal.plugin.redis;
* 将多个 redis 操作放在同一个redis连下中使用,另外也可以让同一个
* Cache 对象使用 select(int) 方法临时切换数据库
<T> T call(Cache cache);
@@ -22,6 +22,7 @@ package com.jfinal.plugin.redis;
* 例如 Integer、String、OtherType 这些不同类型的对象
* 选择不同的命名方式,默认命名方式是 Object.toString()
public interface IKeyNamingPolicy {
String getKeyName(Object key);
@@ -25,6 +25,7 @@ package com.jfinal.template.source;
* 配置示例:
* engine.setSourceFactory(new ClassPathSourceFactory());
public interface ISourceFactory {
ISource getSource(String baseTemplatePath, String fileName, String encoding);