IConfExternal is abstract class for other jars, because the interface is not accessible.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1417 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-10 21:53:27 +00:00
parent 07e49c3fbb
commit a2ed8ea52a
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,8 @@
package com.earth2me.essentials;
public abstract class IConfExternal implements IConf
{
public abstract void reloadConfig();
}

View file

@ -2,6 +2,7 @@ package com.earth2me.essentials.protect;
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.IConf;
import com.earth2me.essentials.IConfExternal;
import com.earth2me.essentials.User;
import com.earth2me.essentials.Util;
import java.util.ArrayList;
@ -77,7 +78,7 @@ public class EssentialsProtect extends JavaPlugin
pm.registerEvent(Type.PLUGIN_ENABLE, serverListener, Priority.Highest, this);
reloadConfig();
Essentials.getStatic().addReloadListener(new IConf() {
Essentials.getStatic().addReloadListener(new IConfExternal() {
public void reloadConfig()
{