Artix User APIs

com.iona.jbus.db.collection
Class StringSerialPersistentMap

java.lang.Object
  extended bycom.iona.jbus.db.collection.PersistentContainer
      extended bycom.iona.jbus.db.collection.PersistentMap
          extended bycom.iona.jbus.db.collection.StringSerialPersistentMap
All Implemented Interfaces:
Map

public class StringSerialPersistentMap
extends PersistentMap

A Map view of Database that allows to store Strings as keys and Serializable Java objects as values.


Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
StringSerialPersistentMap(String id, DatabaseManager mgr, Class valueClass)
          Constructs a new Persistent Map that can store Strings as keys and Serializable Java objects as values.
 
Methods inherited from class com.iona.jbus.db.collection.PersistentMap
containsKey, containsValue, entrySet, get, keySet, put, putAll, remove, toString, values
 
Methods inherited from class com.iona.jbus.db.collection.PersistentContainer
clear, close, isEmpty, markForReopen, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, equals, hashCode, isEmpty, size
 

Constructor Detail

StringSerialPersistentMap

public StringSerialPersistentMap(String id,
                                 DatabaseManager mgr,
                                 Class valueClass)
                          throws DatabaseException
Constructs a new Persistent Map that can store Strings as keys and Serializable Java objects as values.

Parameters:
id - String name of the list.
mgr - DatabaseManager. This class Must implement java.io.Serializable interface.
valueClass - Class that represents the values stored in this Map. This class Must implement java.io.Serializable interface.
Throws:
DatabaseException - if an error happens creating the Map.

Artix User APIs

Copyright � 2004 IONA Technologies PLC. All rights reserved.