removed jinetd
[org.ibex.mail.git] / src / org / ibex / jinetd / Host.java
diff --git a/src/org/ibex/jinetd/Host.java b/src/org/ibex/jinetd/Host.java
deleted file mode 100644 (file)
index ade17d3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.ibex.jinetd;
-import org.ibex.util.*;
-import java.io.*;
-import java.util.*;
-import java.lang.reflect.*;
-
-public class Host extends Loader {
-
-    final String hostname;
-    public Host(String path, String hostname) { super(path); this.hostname = hostname; }
-
-    public void changed(Watched w) {
-        super.changed(w);
-        Log.error(this, "changed(" + w + ")");
-        try {
-            ClassLoader cl = getClassLoader();
-            if (cl == null) return;
-            Class c = cl.loadClass("Main");
-            if (c == null) return;
-            Method m = c.getMethod("main", new Class[] { });
-            m.invoke(null, new Object[] { });
-        } catch (Exception e) {
-            Log.warn(this, "nope");
-        }
-    }
-}