net.sf.farrago.catalog
Class FarragoTransientStorageFactory

java.lang.Object
  extended by net.sf.farrago.catalog.FarragoTransientStorageFactory
All Implemented Interfaces:
org.netbeans.mdr.persistence.StorageFactory

public class FarragoTransientStorageFactory
extends Object
implements org.netbeans.mdr.persistence.StorageFactory

Factory for FarragoTransientStorage. Adapted from org.netbeans.mdr.persistence.memoryimpl.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/catalog/FarragoTransientStorageFactory.java#12 $
Author:
John V. Sichi

Field Summary
private static org.netbeans.mdr.persistence.MOFID NULL_MOFID
           
(package private) static String NULL_STORAGE_ID
           
private static FarragoTransientStorage singletonStorage
           
 
Constructor Summary
FarragoTransientStorageFactory()
           
 
Method Summary
 org.netbeans.mdr.persistence.MOFID createNullMOFID()
           
 org.netbeans.mdr.persistence.Storage createStorage(Map properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_STORAGE_ID

static final String NULL_STORAGE_ID
See Also:
Constant Field Values

NULL_MOFID

private static final org.netbeans.mdr.persistence.MOFID NULL_MOFID

singletonStorage

private static FarragoTransientStorage singletonStorage
Constructor Detail

FarragoTransientStorageFactory

public FarragoTransientStorageFactory()
Method Detail

createStorage

public org.netbeans.mdr.persistence.Storage createStorage(Map properties)
                                                   throws org.netbeans.mdr.persistence.StorageException
Specified by:
createStorage in interface org.netbeans.mdr.persistence.StorageFactory
Throws:
org.netbeans.mdr.persistence.StorageException

createNullMOFID

public org.netbeans.mdr.persistence.MOFID createNullMOFID()
                                                   throws org.netbeans.mdr.persistence.StorageException
Specified by:
createNullMOFID in interface org.netbeans.mdr.persistence.StorageFactory
Throws:
org.netbeans.mdr.persistence.StorageException