1 18 19 package org.objectweb.jac.aspects.persistence; 20 21 import org.objectweb.jac.core.rtti.ClassItem; 22 import org.objectweb.jac.core.rtti.CollectionItem; 23 import org.objectweb.jac.core.rtti.FieldItem; 24 25 30 31 public interface PersistenceConf { 32 33 47 void setValueConverter(ClassItem cl, ClassItem converter); 48 49 67 void configureStorage(ClassItem storageClass, String [] storageParameters); 68 69 87 void configureStorage(String id, 88 ClassItem storageClass, String [] storageParameters); 89 90 99 void setStorage(String classExpr, String storageId); 100 101 115 void makePersistent(String classExpr,String nameExpr); 116 117 128 void registerStatics(String classExpr,String nameExpr); 129 130 139 void preloadField(FieldItem field); 140 141 150 void preloadAllFields(ClassItem cl); 151 152 171 void maxIdle(CollectionItem collection,long maxIdle); 172 173 187 void defineMaxIdleCheckPeriod(long period); 188 189 196 void disableCache(CollectionItem collection); 197 198 } 199 | Popular Tags |