|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
package com.fr.plugin.db.redis.core; |
|
|
|
|
|
|
|
|
|
import com.fanruan.api.conf.HolderKit; |
|
|
|
|
import com.fanruan.api.conf.xml.XmlHolderKit; |
|
|
|
|
import com.fanruan.api.data.ConnectionKit; |
|
|
|
|
import com.fanruan.api.log.LogKit; |
|
|
|
|
import com.fanruan.api.util.StringKit; |
|
|
|
|
import com.fanruan.api.xml.XmlKit; |
|
|
|
|
import com.fr.base.TableData; |
|
|
|
|
import com.fr.config.holder.Conf; |
|
|
|
|
import com.fr.config.holder.factory.XmlHolders; |
|
|
|
|
import com.fr.data.AbstractParameterTableData; |
|
|
|
|
import com.fr.data.impl.Connection; |
|
|
|
|
import com.fr.general.data.DataModel; |
|
|
|
@ -33,7 +33,7 @@ public class RedisScriptTableData extends AbstractParameterTableData {
|
|
|
|
|
private static final long serialVersionUID = 1525853354993816818L; |
|
|
|
|
|
|
|
|
|
private Conf<Connection> database = HolderKit.obj(null, Connection.class); |
|
|
|
|
private Conf<OrderValue> dbIndex = XmlHolders.obj(new NumberOrderValue(0), OrderValue.class, OrderValue.XML_TAG); |
|
|
|
|
private Conf<OrderValue> dbIndex = XmlHolderKit.obj(new NumberOrderValue(0), OrderValue.class, OrderValue.XML_TAG); |
|
|
|
|
private Conf<String> script = HolderKit.simple(StringKit.EMPTY); |
|
|
|
|
|
|
|
|
|
public void setDatabase(Connection c) { |
|
|
|
|