org.datanucleus.store.json
Class JsonStoreManager

java.lang.Object
  extended by org.datanucleus.store.AbstractStoreManager
      extended by org.datanucleus.store.json.JsonStoreManager
All Implemented Interfaces:
org.datanucleus.store.StoreManager

public class JsonStoreManager
extends org.datanucleus.store.AbstractStoreManager


Field Summary
 
Fields inherited from class org.datanucleus.store.AbstractStoreManager
autoStartMechanism, fixedDatastore, LOCALISER, nontxConnectionFactoryName, omfContext, persistenceHandler, readOnlyDatastore, readOnlyDatastoreAction, schemaHandler, starter, starterInitialised, storeDataMgr, storeManagerKey, storeManagerRuntime, txConnectionFactoryName, valueGenerationMgr
 
Constructor Summary
JsonStoreManager(org.datanucleus.ClassLoaderResolver clr, org.datanucleus.OMFContext omfContext)
           
 
Method Summary
 java.util.Date getDatastoreDate()
           
 org.datanucleus.store.Extent getExtent(org.datanucleus.ObjectManager om, java.lang.Class c, boolean subclasses)
          Accessor for an Extent for a class.
 org.datanucleus.store.NucleusConnection getNucleusConnection(org.datanucleus.ObjectManager om)
           
 java.util.Collection getSupportedOptions()
          Accessor for the supported options in string form
 
Methods inherited from class org.datanucleus.store.AbstractStoreManager
addClass, addClasses, assertReadOnlyForUpdateOfObject, clearAutoStarter, close, deregisterAllStoreData, getApiAdapter, getAutoStartMechanism, getBackingStoreForField, getClassNameForObjectID, getConnection, getConnection, getConnection, getMetaDataManager, getNucleusSequence, getOMFContext, getPersistenceHandler, getPropertiesForGenerator, getRuntimeManager, getSchemaHandler, getStoreManagerKey, getStrategyForNative, getStrategyValue, getStrategyValueForGenerator, getSubClassesForClass, getValueGenerationManager, initialiseAutoStart, isStrategyDatastoreAttributed, logConfiguration, manageClassForIdentity, managesClass, newStoreData, notifyObjectIsOutdated, performVersionCheck, printInformation, registerStoreData, removeAllClasses, supportsQueryLanguage, supportsValueStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonStoreManager

public JsonStoreManager(org.datanucleus.ClassLoaderResolver clr,
                        org.datanucleus.OMFContext omfContext)
Method Detail

getDatastoreDate

public java.util.Date getDatastoreDate()
Specified by:
getDatastoreDate in interface org.datanucleus.store.StoreManager
Specified by:
getDatastoreDate in class org.datanucleus.store.AbstractStoreManager

getExtent

public org.datanucleus.store.Extent getExtent(org.datanucleus.ObjectManager om,
                                              java.lang.Class c,
                                              boolean subclasses)
Accessor for an Extent for a class.

Specified by:
getExtent in interface org.datanucleus.store.StoreManager
Specified by:
getExtent in class org.datanucleus.store.AbstractStoreManager
Parameters:
om - The Object Manager
c - The class requiring the Extent
subclasses - Whether to include subclasses of 'c'
Returns:
The Extent.

getNucleusConnection

public org.datanucleus.store.NucleusConnection getNucleusConnection(org.datanucleus.ObjectManager om)
Specified by:
getNucleusConnection in interface org.datanucleus.store.StoreManager
Specified by:
getNucleusConnection in class org.datanucleus.store.AbstractStoreManager

getSupportedOptions

public java.util.Collection getSupportedOptions()
Accessor for the supported options in string form

Specified by:
getSupportedOptions in interface org.datanucleus.store.StoreManager
Overrides:
getSupportedOptions in class org.datanucleus.store.AbstractStoreManager


Copyright © 2009. All Rights Reserved.