public class XMLStoreManager
extends org.datanucleus.store.AbstractStoreManager
| Modifier and Type | Field and Description |
|---|---|
static String |
JAXB_HANDLER_CLASS_PROPERTY |
static String |
XML_INDENT_SIZE_PROPERTY |
connectionMgr, flushProcess, namingFactory, nucleusContext, persistenceHandler, primaryConnectionFactoryName, queryMgr, schemaHandler, secondaryConnectionFactoryName, storeDataMgr, storeManagerKey, valueGenerationMgrOPTION_APPLICATION_COMPOSITE_ID, OPTION_APPLICATION_ID, OPTION_DATASTORE_ID, OPTION_DATASTORE_TIME_STORES_MILLISECS, OPTION_DATASTORE_TIME_STORES_NANOSECS, OPTION_DATASTORE_TIMEOUT, OPTION_NONDURABLE_ID, OPTION_ORM, OPTION_ORM_EMBEDDED_ARRAY, OPTION_ORM_EMBEDDED_ARRAY_NESTED, OPTION_ORM_EMBEDDED_COLLECTION, OPTION_ORM_EMBEDDED_COLLECTION_NESTED, OPTION_ORM_EMBEDDED_MAP, OPTION_ORM_EMBEDDED_MAP_NESTED, OPTION_ORM_EMBEDDED_PC, OPTION_ORM_EMBEDDED_PC_NESTED, OPTION_ORM_FOREIGN_KEYS, OPTION_ORM_SECONDARY_TABLE, OPTION_ORM_SERIALISED_ARRAY_ELEMENT, OPTION_ORM_SERIALISED_COLLECTION_ELEMENT, OPTION_ORM_SERIALISED_MAP_KEY, OPTION_ORM_SERIALISED_MAP_VALUE, OPTION_ORM_SERIALISED_PC, OPTION_QUERY_CANCEL, OPTION_QUERY_JDOQL_BITWISE_OPS, OPTION_QUERY_JDOQL_BULK_DELETE, OPTION_QUERY_JDOQL_BULK_INSERT, OPTION_QUERY_JDOQL_BULK_UPDATE, OPTION_QUERY_JPQL_BULK_DELETE, OPTION_QUERY_JPQL_BULK_INSERT, OPTION_QUERY_JPQL_BULK_UPDATE, OPTION_TXN_ISOLATION_READ_COMMITTED, OPTION_TXN_ISOLATION_READ_UNCOMMITTED, OPTION_TXN_ISOLATION_REPEATABLE_READ, OPTION_TXN_ISOLATION_SERIALIZABLE| Constructor and Description |
|---|
XMLStoreManager(org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.PersistenceNucleusContext ctx,
Map<String,Object> props)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release of resources
|
String |
getClassNameForIdentity(org.datanucleus.ExecutionContext ec,
String[] possibleNames,
Object id)
Method to return which of the possible class names for an identity corresponds to an object
in the datastore.
|
String |
getClassNameForObjectID(Object id,
org.datanucleus.ClassLoaderResolver clr,
org.datanucleus.ExecutionContext ec) |
JAXBHandler |
getJAXBHandler() |
String |
getStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd,
int absFieldNumber)
Method defining which value-strategy to use when the user specifies "native".
|
protected Object |
getStrategyValueForGenerator(org.datanucleus.store.valuegenerator.ValueGenerator generator,
org.datanucleus.ExecutionContext ec)
Accessor for the next value from the specified generator.
|
Collection |
getSupportedOptions()
Accessor for the supported options in string form.
|
deregisterAllStoreData, getApiAdapter, getBooleanObjectProperty, getBooleanProperty, getBooleanProperty, getConnection, getConnection, getConnection, getConnectionDriverName, getConnectionFactory, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionManager, getConnectionPassword, getConnectionURL, getConnectionUserName, getDatastoreDate, getDefaultObjectProviderClassName, getExtent, getFlushProcess, getIntProperty, getMetaDataManager, getNamingFactory, getNativeQueryLanguage, getNucleusConnection, getNucleusContext, getNucleusSequence, getPersistenceHandler, getPropertiesForGenerator, getProperty, getQueryCacheKey, getQueryManager, getSchemaHandler, getStoreDataForClass, getStoreManagerKey, getStrategyValue, getStringProperty, getSubClassesForClass, getValueGenerationManager, hasProperty, isJdbcStore, isStrategyDatastoreAttributed, logConfiguration, manageClasses, manageClassForIdentity, managesClass, newStoreData, printInformation, registerConnectionFactory, registerConnectionMgr, registerStoreData, supportsQueryLanguage, supportsValueStrategy, transactionCommitted, transactionRolledBack, transactionStarted, unmanageAllClasses, unmanageClass, useBackedSCOWrapperForMember, usesBackedSCOWrapperspublic static final String JAXB_HANDLER_CLASS_PROPERTY
public static final String XML_INDENT_SIZE_PROPERTY
public void close()
close in interface org.datanucleus.store.StoreManagerclose in class org.datanucleus.store.AbstractStoreManagerpublic JAXBHandler getJAXBHandler()
public String getClassNameForObjectID(Object id, org.datanucleus.ClassLoaderResolver clr, org.datanucleus.ExecutionContext ec)
getClassNameForObjectID in interface org.datanucleus.store.StoreManagergetClassNameForObjectID in class org.datanucleus.store.AbstractStoreManagerpublic String getClassNameForIdentity(org.datanucleus.ExecutionContext ec, String[] possibleNames, Object id)
ec - execution contextpossibleNames - The possible class names of the objectid - The identitypublic Collection getSupportedOptions()
getSupportedOptions in interface org.datanucleus.store.StoreManagergetSupportedOptions in class org.datanucleus.store.AbstractStoreManagerpublic String getStrategyForNative(org.datanucleus.metadata.AbstractClassMetaData cmd, int absFieldNumber)
getStrategyForNative in class org.datanucleus.store.AbstractStoreManagercmd - Class requiring the strategyabsFieldNumber - Field of the classprotected Object getStrategyValueForGenerator(org.datanucleus.store.valuegenerator.ValueGenerator generator, org.datanucleus.ExecutionContext ec)
getStrategyValueForGenerator in class org.datanucleus.store.AbstractStoreManagergenerator - The generatorec - ExecutionContextCopyright © 2016. All rights reserved.