BaseTestPluginImpl.java
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:1k
源码类别:

搜索引擎

开发平台:

Java

  1. package net.javacoding.jspider.mockobjects.plugin;
  2. import net.javacoding.jspider.spi.Plugin;
  3. import net.javacoding.jspider.api.event.JSpiderEvent;
  4. /**
  5.  * $Id: BaseTestPluginImpl.java,v 1.2 2003/04/03 16:25:23 vanrogu Exp $
  6.  */
  7. public class BaseTestPluginImpl implements Plugin {
  8.     public static final int DEFAULT_CONSTRUCTOR = 1;
  9.     public static final int NAME_CONSTRUCTOR = 2;
  10.     public static final int CONFIG_CONSTRUCTOR = 3;
  11.     public static final int NAMECONFIG_CONSTRUCTOR = 3;
  12.     protected int usedConstructor;
  13.     public BaseTestPluginImpl ( int usedConstructor ) {
  14.       this.usedConstructor = usedConstructor;
  15.     }
  16.     public String getName() {
  17.         return null;
  18.     }
  19.     public String getVersion() {
  20.         return null;
  21.     }
  22.     public String getDescription() {
  23.         return null;
  24.     }
  25.     public String getVendor() {
  26.         return null;
  27.     }
  28.     public void initialize() {
  29.     }
  30.     public void shutdown() {
  31.     }
  32.     public void notify(JSpiderEvent event) {
  33.     }
  34.     public int getUsedConstuctor ( ) {
  35.         return usedConstructor;
  36.     }
  37. }