public class

MemoryPropertySet

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

Class Overview

The MemoryPropertySet is a PropertySet implementation that will store any primitive or object in an internal Map that is stored in memory.

An alternative to MemoryPropertySet is SerializablePropertySet which can be Serialized to/from a stream.

See Also

Summary

Nested Classes
class MemoryPropertySet.ValueEntry  
[Expand]
Inherited Constants
From interface com.opensymphony.module.propertyset.PropertySet
[Expand]
Inherited Fields
From class com.opensymphony.module.propertyset.AbstractPropertySet
Public Constructors
MemoryPropertySet()
Public Methods
synchronized boolean exists(String key)
synchronized Collection getKeys(String prefix, int type)
synchronized int getType(String key)
void init(Map config, Map args)
void remove()
synchronized void remove(String key)
Protected Methods
synchronized Object get(int type, String key)
HashMap getMap()
synchronized void setImpl(int type, String key, Object value)
[Expand]
Inherited Methods
From class com.opensymphony.module.propertyset.AbstractPropertySet
From class java.lang.Object
From interface com.opensymphony.module.propertyset.PropertySet

Public Constructors

public MemoryPropertySet ()

Public Methods

public synchronized boolean exists (String key)

public synchronized Collection getKeys (String prefix, int type)

public synchronized int getType (String key)

public void init (Map config, Map args)

public void remove ()

public synchronized void remove (String key)

Protected Methods

protected synchronized Object get (int type, String key)

protected HashMap getMap ()

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