All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.onetwo.dbm.richmodel.RichModelCheckProcessor Maven / Gradle / Ivy

The newest version!
package org.onetwo.dbm.richmodel;

import java.util.Collection;

import org.onetwo.dbm.exception.DbmException;
import org.onetwo.dbm.mapping.ScanedClassContext;

public class RichModelCheckProcessor implements PackageScanedProcessor{

	public void processClasses(Collection clssNameList) {
		for(ScanedClassContext cls : clssNameList){
			if(cls.isSubClassOf(RichModel.class.getName())){
				throw new DbmException("you must be add javassist to classpath if you want to use richmodel support!");
			}
		}
	}
	
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy