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

org.webframe.support.driver.ModulePluginDriverInfo Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version

package org.webframe.support.driver;

import org.webframe.support.driver.resource.jar.JarResourceLoader;

/**
 * 模块插件驱动详细信息
 * 
 * @author 黄国庆 
 * @version $Id: codetemplates.xml,v 1.1 2009/09/07 08:48:12 Exp $ Create: 2011-5-1 上午10:19:04
 */
public class ModulePluginDriverInfo {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 7164720425115665612L;

	ModulePluginDriver			driver;

	Class	driverClass;

	String							driverClassName;

	boolean							inJar					= false;

	long								lastModifyTime		= 0;

	String							jarName;

	JarResourceLoader				jarResourceLoader	= null;

	public ModulePluginDriver getDriver() {
		return driver;
	}

	public Class getDriverClass() {
		return driverClass;
	}

	public String getDriverClassName() {
		return driverClassName;
	}

	public long getLastModifyTime() {
		return lastModifyTime;
	}

	public boolean isInJar() {
		return inJar;
	}

	public Object getSerializableDriverInfo() {
		return new SerializableDriverInfo(driverClass.getName(), driverClassName, inJar, lastModifyTime, jarName);
	}

	public String toString() {
		return ("driver[className=" + driverClassName + "," + driver + "]");
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy