public class

SerializablePropertySet

extends MemoryPropertySet
implements Serializable
java.lang.Object
   ↳ com.opensymphony.module.propertyset.AbstractPropertySet
     ↳ com.opensymphony.module.propertyset.memory.MemoryPropertySet
       ↳ com.opensymphony.module.propertyset.memory.SerializablePropertySet
Known Direct Subclasses

Class Overview

The SerializablePropertySet is a PropertySet implementation that will store any primitive of serializable object in an internal Map which is stored in memory and can be loaded/saved by serializing the entire SerializablePropertySet.

This offers the most basic form of persistence. Note that setObject() will throw an IllegalPropertyException if the passed object does not implement Serializable.

Summary

[Expand]
Inherited Constants
From interface com.opensymphony.module.propertyset.PropertySet
[Expand]
Inherited Fields
From class com.opensymphony.module.propertyset.AbstractPropertySet
Public Constructors
SerializablePropertySet()
Public Methods
void init(Map config, Map args)
void remove()
Protected Methods
HashMap getMap()
synchronized void setImpl(int type, String key, Object value)
[Expand]
Inherited Methods
From class com.opensymphony.module.propertyset.memory.MemoryPropertySet
From class com.opensymphony.module.propertyset.AbstractPropertySet
From class java.lang.Object
From interface com.opensymphony.module.propertyset.PropertySet

Public Constructors

public SerializablePropertySet ()

Public Methods

public void init (Map config, Map args)

public void remove ()

Protected Methods

protected HashMap getMap ()

protected synchronized void setImpl (int type, String key, Object value)