Commit 9e7437d6 authored by guus's avatar guus

OF-588: Making the AdHocCommand & Manager Serializable. I'm not to sure this...

OF-588: Making the AdHocCommand & Manager Serializable. I'm not to sure this is the right way to go, but I'd like to see if this provides a band-aid for the issue.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13351 b35dd754-fafc-0310-a699-88a17e54d16e
parent cc1fcfd6
...@@ -23,6 +23,7 @@ import org.dom4j.Element; ...@@ -23,6 +23,7 @@ import org.dom4j.Element;
import org.jivesoftware.openfire.admin.AdminManager; import org.jivesoftware.openfire.admin.AdminManager;
import org.xmpp.packet.JID; import org.xmpp.packet.JID;
import java.io.Serializable;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -44,7 +45,7 @@ import java.util.Map; ...@@ -44,7 +45,7 @@ import java.util.Map;
* *
* @author Gaston Dombiak * @author Gaston Dombiak
*/ */
public abstract class AdHocCommand { public abstract class AdHocCommand implements Serializable {
/** /**
* Label of the command. This information may be used to display the command as a button * Label of the command. This information may be used to display the command as a button
......
...@@ -28,6 +28,7 @@ import org.xmpp.forms.FormField; ...@@ -28,6 +28,7 @@ import org.xmpp.forms.FormField;
import org.xmpp.packet.IQ; import org.xmpp.packet.IQ;
import org.xmpp.packet.PacketError; import org.xmpp.packet.PacketError;
import java.io.Serializable;
import java.util.Collection; import java.util.Collection;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
...@@ -42,7 +43,7 @@ import java.util.concurrent.atomic.AtomicInteger; ...@@ -42,7 +43,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* *
* @author Gaston Dombiak * @author Gaston Dombiak
*/ */
public class AdHocCommandManager { public class AdHocCommandManager implements Serializable {
private static final String NAMESPACE = "http://jabber.org/protocol/commands"; private static final String NAMESPACE = "http://jabber.org/protocol/commands";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment