
com.venky.swf.db.table.ProxyCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swf-db Show documentation
Show all versions of swf-db Show documentation
Succinct Web Framework - Db
The newest version!
package com.venky.swf.db.table;
import com.venky.cache.Cache;
import com.venky.swf.db.model.Model;
public class ProxyCache extends Cache,Model> {
/**
*
*/
private static final long serialVersionUID = -1436596145516567205L;
Record record;
public ProxyCache(){
//For Serialization.
}
public ProxyCache(Record record){
super(0,0);
this.record = record;
}
@Override
protected Model getValue(Class extends Model> k) {
return ModelInvocationHandler.getProxy(k, record);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy