Commit 7f521de3 authored by guus's avatar guus

OF-588: Making more of pubsub Serializable. As with the previous commit, I'm...

OF-588: Making more of pubsub Serializable. As with the previous commit, 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@13352 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9e7437d6
......@@ -26,6 +26,8 @@ import org.jivesoftware.openfire.pubsub.models.PublisherModel;
import org.xmpp.forms.DataForm;
import org.xmpp.forms.FormField;
import java.io.Serializable;
/**
* A DefaultNodeConfiguration keeps the default configuration values for leaf or collection
* nodes of a particular publish-subscribe service. New nodes created for the service
......@@ -33,7 +35,7 @@ import org.xmpp.forms.FormField;
*
* @author Matt Tucker
*/
public class DefaultNodeConfiguration {
public class DefaultNodeConfiguration implements Serializable {
/**
* Flag indicating whether this default configutation belongs to a leaf node or not.
......
......@@ -25,12 +25,14 @@ import org.jivesoftware.openfire.pubsub.Node;
import org.xmpp.packet.JID;
import org.xmpp.packet.PacketError;
import java.io.Serializable;
/**
* Policy that defines who is allowed to subscribe and retrieve items.
*
* @author Matt Tucker
*/
public abstract class AccessModel {
public abstract class AccessModel implements Serializable {
public final static AccessModel whitelist = new WhitelistAccess();
public final static AccessModel open = new OpenAccess();
......
......@@ -23,12 +23,14 @@ package org.jivesoftware.openfire.pubsub.models;
import org.jivesoftware.openfire.pubsub.Node;
import org.xmpp.packet.JID;
import java.io.Serializable;
/**
* Policy that defines who is allowed to publish items to the node.
*
* @author Matt Tucker
*/
public abstract class PublisherModel {
public abstract class PublisherModel implements Serializable {
public final static PublisherModel open = new OpenPublisher();
public final static PublisherModel publishers = new OnlyPublishers();
......
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