|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.PersistenceConfiguration
org.datanucleus.ObjectManagerFactoryImpl
org.datanucleus.jdo.JDOPersistenceManagerFactory
public class JDOPersistenceManagerFactory
Implementation of a JDO PersistenceManagerFactory, used to obtain PersistenceManager instances. The factory is configurable up to a point when it is frozen. Thereafter nothing can be changed.
| Field Summary | |
|---|---|
protected java.util.List<LifecycleListenerForClass> |
lifecycleListeners
Lifecycle Listeners. |
protected static Localiser |
LOCALISER_JDO
Localisation utility for output messages from jdo. |
| Fields inherited from class org.datanucleus.ObjectManagerFactoryImpl |
|---|
cache, omfContext |
| Fields inherited from class org.datanucleus.PersistenceConfiguration |
|---|
LOCALISER |
| Constructor Summary | |
|---|---|
JDOPersistenceManagerFactory()
Constructs a new JDOPersistenceManagerFactory. |
|
JDOPersistenceManagerFactory(java.util.Map props)
Constructs a new JDOPersistenceManagerFactory. |
|
| Method Summary | |
|---|---|
void |
addFetchGroups(javax.jdo.FetchGroup... groups)
|
void |
addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
Method to add lifecycle listeners for particular classes. |
void |
addSequenceForFactoryClass(java.lang.String factoryClassName,
javax.jdo.datastore.Sequence sequence)
Method to register a sequence for a particular factory class. |
protected void |
assertConfigurable()
Asserts that a change to a configuration property is allowed. |
protected void |
assertIsOpen()
Asserts that the PMF is open. |
void |
close()
Close this PersistenceManagerFactory. |
protected static JDOPersistenceManagerFactory |
createPersistenceManagerFactory(java.util.Map props)
Convenience method to create the PMF, check whether we should hand out a singleton, and if all ok then freeze it for use. |
boolean |
equals(java.lang.Object obj)
Equality operator. |
protected void |
freezeConfiguration()
Freezes the current configuration. |
java.lang.String |
getCatalog()
Accessor for the catalog to use for this persistence factory. |
java.lang.String |
getConnectionDriverName()
Get the driver name for the data store connection. |
java.lang.Object |
getConnectionFactory()
Get the data store connection factory. |
java.lang.Object |
getConnectionFactory2()
Get the second data store connection factory. |
java.lang.String |
getConnectionFactory2Name()
Get the name for the second data store connection factory. |
java.lang.String |
getConnectionFactoryName()
Get the name for the data store connection factory. |
java.lang.String |
getConnectionPassword()
Get the password for the data store connection. |
java.lang.String |
getConnectionURL()
Get the URL for the data store connection. |
java.lang.String |
getConnectionUserName()
Get the user name for the data store connection. |
boolean |
getCopyOnAttach()
Accessor for the CopyOnAttach setting. |
javax.jdo.datastore.DataStoreCache |
getDataStoreCache()
Accessor for the DataStore (level 2) Cache |
java.lang.Integer |
getDatastoreReadTimeoutMillis()
Accessor for the datastore read timeout interval. |
java.lang.Integer |
getDatastoreWriteTimeoutMillis()
Accessor for the datastore write timeout interval. |
boolean |
getDetachAllOnCommit()
Accessor for the DetachAllOnCommit setting. |
javax.jdo.FetchGroup |
getFetchGroup(java.lang.Class cls,
java.lang.String name)
|
java.util.Set<JDOFetchGroup> |
getFetchGroups()
|
boolean |
getIgnoreCache()
Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
java.util.List<LifecycleListenerForClass> |
getLifecycleListenerSpecifications()
|
java.lang.String |
getMapping()
Get the name for any mapping, used in retrieving metadata files for ORM/Query data. |
javax.jdo.metadata.TypeMetadata |
getMetadata(java.lang.String className)
Method to return the (class) metadata object for the specified class, if there is metadata defined for that class. |
boolean |
getMultithreaded()
Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getName()
Accessor for the name of the persistence factory (if any). |
boolean |
getNontransactionalRead()
Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
boolean |
getNontransactionalWrite()
Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env)
Create a PMF using the (JNDI) location or reference information specified. |
boolean |
getOptimistic()
Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. |
javax.jdo.PersistenceManager |
getPersistenceManager()
Get an instance of PersistenceManager from this factory. |
javax.jdo.PersistenceManager |
getPersistenceManager(java.lang.String userName,
java.lang.String password)
Get an instance of PersistenceManager from this factory. |
static javax.jdo.PersistenceManagerFactory |
getPersistenceManagerFactory(java.util.Map overridingProps)
Return a new PersistenceManagerFactory with options set according to the given Properties. |
static javax.jdo.PersistenceManagerFactory |
getPersistenceManagerFactory(java.util.Map overrides,
java.util.Map props)
Return a new PersistenceManagerFactory with options set according to the given properties and given overrides. |
static javax.jdo.PersistenceManagerFactory |
getPersistenceManagerFactory(java.util.Properties overridingProps)
Return a new PersistenceManagerFactory with options set according to the given Properties. |
javax.jdo.PersistenceManager |
getPersistenceManagerProxy()
Accessor for the PersistenceManager proxy object |
java.lang.String |
getPersistenceUnitName()
Accessor for the name of the persistence unit |
java.lang.String |
getPersistenceXmlFilename()
Accessor for the filename of the persistence.xml file. |
java.util.Properties |
getProperties()
Return non-configurable properties of this PersistenceManagerFactory. |
JDOQueryCache |
getQueryCache()
Accessor for the query results cache. |
boolean |
getReadOnly()
Get the default readOnly setting for all PersistenceManager instances obtained from this factory. |
javax.naming.Reference |
getReference()
Retrieves the (JNDI) reference of this PMF object. |
boolean |
getRestoreValues()
Get the default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
boolean |
getRetainValues()
Get the default RetainValues setting for all PersistenceManager instances obtained from this factory. |
java.lang.String |
getSchema()
Accessor for the schema to use for this persistence factory. |
javax.jdo.datastore.Sequence |
getSequenceForFactoryClass(java.lang.String factoryClassName)
Accessor for the sequence for a factory class. |
java.lang.String |
getServerTimeZoneID()
Accessor for the timezone "id" of the datastore server (if any). |
java.lang.String |
getTransactionIsolationLevel()
Accessor for the transaction isolation level default. |
java.lang.String |
getTransactionType()
Accessor for the transaction type to use with this persistence factory. |
protected void |
initialiseProperties(java.util.Map props)
Convenience method to set the API and properties that a PMF will use. |
boolean |
isClosed()
Utility to return whether the factory is closed or not. |
javax.jdo.metadata.JDOMetadata |
newMetadata()
Method to return a new metadata object that can be subsequently modified and registered with the persistence process using the method registerMetadata(javax.jdo.metadata.JDOMetadata). |
protected JDOPersistenceManager |
newPM(JDOPersistenceManagerFactory jdoPmf,
java.lang.String userName,
java.lang.String password)
Construct a JDOPersistenceManager. |
void |
registerMetadata(javax.jdo.metadata.JDOMetadata metadata)
Method to register the supplied metadata with the persistence process managed by this PersistenceManagerFactory. |
void |
releasePersistenceManager(JDOPersistenceManager om)
Remove a PersistenceManager from the cache Only the PersistenceManager is allowed to call this method |
void |
removeAllFetchGroups()
|
void |
removeFetchGroups(javax.jdo.FetchGroup... groups)
|
void |
removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener)
Method to remove a lifecycle listener. |
void |
setCatalog(java.lang.String catalog)
Mutator for the catalog to use for this persistence factory. |
void |
setConnectionDriverName(java.lang.String driverName)
Set the driver name for the data store connection. |
void |
setConnectionFactory(java.lang.Object connectionFactory)
Set the data store connection factory. |
void |
setConnectionFactory2(java.lang.Object connectionFactory)
Set the second data store connection factory. |
void |
setConnectionFactory2Name(java.lang.String connectionFactoryName)
Set the name for the second data store connection factory. |
void |
setConnectionFactoryName(java.lang.String connectionFactoryName)
Set the name for the data store connection factory. |
void |
setConnectionPassword(java.lang.String password)
Set the password for the data store connection. |
void |
setConnectionURL(java.lang.String url)
Set the URL for the data store connection. |
void |
setConnectionUserName(java.lang.String userName)
Set the user name for the data store connection. |
void |
setCopyOnAttach(boolean flag)
Mutator for the CopyOnAttach setting. |
void |
setDatastoreReadTimeoutMillis(java.lang.Integer timeout)
Mutator for the timeout to use for datastore reads. |
void |
setDatastoreWriteTimeoutMillis(java.lang.Integer timeout)
Mutator for the timeout to use for datastore writes. |
void |
setDetachAllOnCommit(boolean flag)
Mutator for the DetachAllOnCommit setting. |
void |
setIgnoreCache(boolean flag)
Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory. |
void |
setMapping(java.lang.String mapping)
Set the name for any mapping, used in searching for ORM/Query metadata files. |
void |
setMultithreaded(boolean flag)
Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory. |
void |
setName(java.lang.String name)
Mutator for the name of the persistence factory. |
void |
setNontransactionalRead(boolean flag)
Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. |
void |
setNontransactionalWrite(boolean flag)
Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory. |
void |
setOptimistic(boolean flag)
Set the default Optimistic setting for all PersistenceManager instances obtained from this factory. |
void |
setPersistenceUnitName(java.lang.String name)
Mutator for the name of the persistence unit. |
void |
setPersistenceXmlFilename(java.lang.String name)
Mutator for the filename of the persistence.xml file. |
void |
setReadOnly(boolean flag)
Set the readOnly setting for all PersistenceManager instances obtained from this factory. |
void |
setRestoreValues(boolean flag)
Set the default RestoreValues setting for all PersistenceManager instances obtained from this factory. |
void |
setRetainValues(boolean flag)
Set the default RetainValues setting for all PersistenceManager instances obtained from this factory. |
void |
setSchema(java.lang.String schema)
Mutator for the schema to use for this persistence factory. |
void |
setServerTimeZoneID(java.lang.String id)
Mutator for the timezone id of the datastore server. |
void |
setTransactionIsolationLevel(java.lang.String level)
Set the default isolation level for transactions. |
void |
setTransactionType(java.lang.String type)
Mutator for the transaction type to use for this persistence factory. |
java.util.Collection<java.lang.String> |
supportedOptions()
The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Localiser LOCALISER_JDO
protected java.util.List<LifecycleListenerForClass> lifecycleListeners
| Constructor Detail |
|---|
public JDOPersistenceManagerFactory()
public JDOPersistenceManagerFactory(java.util.Map props)
props - Persistent properties| Method Detail |
|---|
public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(java.util.Properties overridingProps)
overridingProps - The Properties to initialize the PersistenceManagerFactory with.
JDOHelper.getPersistenceManagerFactory(java.util.Map)public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(java.util.Map overridingProps)
overridingProps - The Map of properties to initialize the PersistenceManagerFactory with.
JDOHelper.getPersistenceManagerFactory(java.util.Map)
public static javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory(java.util.Map overrides,
java.util.Map props)
overrides - Map of properties to override the supplied props (if any)props - Map of properties to initialise the PMF with
protected static JDOPersistenceManagerFactory createPersistenceManagerFactory(java.util.Map props)
props - The properties
protected void initialiseProperties(java.util.Map props)
props - The properties to use for this PMFprotected void freezeConfiguration()
javax.jdo.JDOException - if the configuration was invalid or inconsistent in some waypublic javax.jdo.PersistenceManager getPersistenceManager()
After the first use of getPersistenceManager, no "set" methods will succeed.
getPersistenceManager in interface javax.jdo.PersistenceManagerFactory
public javax.jdo.PersistenceManager getPersistenceManager(java.lang.String userName,
java.lang.String password)
After the first use of getPersistenceManager, no "set" methods will succeed.
getPersistenceManager in interface javax.jdo.PersistenceManagerFactoryuserName - the user name for the connectionpassword - the password for the connection
protected JDOPersistenceManager newPM(JDOPersistenceManagerFactory jdoPmf,
java.lang.String userName,
java.lang.String password)
JDOPersistenceManager. Override if you want to construct a subclass instead.
public boolean equals(java.lang.Object obj)
equals in class PersistenceConfigurationobj - Object to compare against
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context ctx,
java.util.Hashtable env)
throws java.lang.Exception
getObjectInstance in interface javax.naming.spi.ObjectFactoryobj - The objectname - Name of the object relative to the contextctx - The contextenv - properties used for creating the object
java.lang.Exception - If an error occurs generating the referenced objectpublic javax.naming.Reference getReference()
getReference in interface javax.naming.Referenceablepublic javax.jdo.PersistenceManager getPersistenceManagerProxy()
getPersistenceManagerProxy in interface javax.jdo.PersistenceManagerFactorypublic java.util.Properties getProperties()
getProperties in interface javax.jdo.PersistenceManagerFactorypublic java.util.Collection<java.lang.String> supportedOptions()
supportedOptions in interface javax.jdo.PersistenceManagerFactorypublic void releasePersistenceManager(JDOPersistenceManager om)
om - the PersistenceManager to be removed from cacheprotected void assertIsOpen()
javax.jdo.JDOUserException - if it is already closedpublic boolean isClosed()
isClosed in interface javax.jdo.PersistenceManagerFactorypublic void close()
If the authorization check succeeds, check to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction.
If there are no active transactions, then close all PersistenceManager instances obtained from this PersistenceManagerFactory, mark this PersistenceManagerFactory as closed, disallow getPersistenceManager methods, and allow all other get methods. If a set method or getPersistenceManager method is called after close, then JDOUserException is thrown.
close in interface javax.jdo.PersistenceManagerFactoryclose in class ObjectManagerFactoryImplPersistenceManagerFactory.close()public javax.jdo.datastore.DataStoreCache getDataStoreCache()
getDataStoreCache in interface javax.jdo.PersistenceManagerFactorypublic JDOQueryCache getQueryCache()
public void setConnectionUserName(java.lang.String userName)
setConnectionUserName in interface javax.jdo.PersistenceManagerFactoryuserName - the user name for the data store connection.public void setConnectionPassword(java.lang.String password)
setConnectionPassword in interface javax.jdo.PersistenceManagerFactorypassword - the password for the data store connection.public void setConnectionURL(java.lang.String url)
setConnectionURL in interface javax.jdo.PersistenceManagerFactoryurl - the URL for the data store connection.public void setConnectionDriverName(java.lang.String driverName)
setConnectionDriverName in interface javax.jdo.PersistenceManagerFactorydriverName - the driver name for the data store connection.public void setConnectionFactoryName(java.lang.String connectionFactoryName)
setConnectionFactoryName in interface javax.jdo.PersistenceManagerFactoryconnectionFactoryName - name of the data store connection factory.public void setConnectionFactory(java.lang.Object connectionFactory)
setConnectionFactory in interface javax.jdo.PersistenceManagerFactoryconnectionFactory - the data store connection factory.public void setConnectionFactory2Name(java.lang.String connectionFactoryName)
setConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactoryconnectionFactoryName - name of the data store connection factory.public void setConnectionFactory2(java.lang.Object connectionFactory)
setConnectionFactory2 in interface javax.jdo.PersistenceManagerFactoryconnectionFactory - the data store connection factory.public void setMultithreaded(boolean flag)
setMultithreaded in interface javax.jdo.PersistenceManagerFactoryflag - the default Multithreaded setting.public void setOptimistic(boolean flag)
setOptimistic in interface javax.jdo.PersistenceManagerFactoryflag - the default Optimistic setting.public void setRetainValues(boolean flag)
setRetainValues in interface javax.jdo.PersistenceManagerFactoryflag - the default RetainValues setting.public void setRestoreValues(boolean flag)
setRestoreValues in interface javax.jdo.PersistenceManagerFactoryflag - the default RestoreValues setting.public void setNontransactionalRead(boolean flag)
setNontransactionalRead in interface javax.jdo.PersistenceManagerFactoryflag - the default NontransactionalRead setting.public void setNontransactionalWrite(boolean flag)
setNontransactionalWrite in interface javax.jdo.PersistenceManagerFactoryflag - the default NontransactionalWrite setting.public void setIgnoreCache(boolean flag)
setIgnoreCache in interface javax.jdo.PersistenceManagerFactoryflag - the default IgnoreCache setting.public void setDetachAllOnCommit(boolean flag)
setDetachAllOnCommit in interface javax.jdo.PersistenceManagerFactoryflag - the default DetachAllOnCommit setting.public void setCopyOnAttach(boolean flag)
setCopyOnAttach in interface javax.jdo.PersistenceManagerFactoryflag - the default CopyOnAttach setting.public void setMapping(java.lang.String mapping)
setMapping in interface javax.jdo.PersistenceManagerFactorymapping - the mapping namepublic void setCatalog(java.lang.String catalog)
catalog - Name of the catalogpublic void setSchema(java.lang.String schema)
schema - Name of the schemapublic void setDatastoreReadTimeoutMillis(java.lang.Integer timeout)
setDatastoreReadTimeoutMillis in interface javax.jdo.PersistenceManagerFactorytimeout - Datastore read interval (millisecs)public void setDatastoreWriteTimeoutMillis(java.lang.Integer timeout)
setDatastoreWriteTimeoutMillis in interface javax.jdo.PersistenceManagerFactorytimeout - Datastore write interval (millisecs)public void setTransactionType(java.lang.String type)
setTransactionType in interface javax.jdo.PersistenceManagerFactorytype - Transaction typepublic void setPersistenceUnitName(java.lang.String name)
setPersistenceUnitName in interface javax.jdo.PersistenceManagerFactoryname - Name of the persistence unitpublic void setPersistenceXmlFilename(java.lang.String name)
name - Filename of the persistence unitpublic void setName(java.lang.String name)
setName in interface javax.jdo.PersistenceManagerFactoryname - Name of the persistence factory (if any)public void setServerTimeZoneID(java.lang.String id)
setServerTimeZoneID in interface javax.jdo.PersistenceManagerFactoryid - Timezone Id to usepublic void setReadOnly(boolean flag)
setReadOnly in interface javax.jdo.PersistenceManagerFactoryflag - the default readOnly setting.public void setTransactionIsolationLevel(java.lang.String level)
setTransactionIsolationLevel in interface javax.jdo.PersistenceManagerFactorylevel - Levelpublic java.lang.String getConnectionUserName()
getConnectionUserName in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getConnectionPassword()
public java.lang.String getConnectionURL()
getConnectionURL in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getConnectionDriverName()
getConnectionDriverName in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getConnectionFactoryName()
getConnectionFactoryName in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getConnectionFactory2Name()
getConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactorypublic java.lang.Object getConnectionFactory()
getConnectionFactory in interface javax.jdo.PersistenceManagerFactorypublic java.lang.Object getConnectionFactory2()
getConnectionFactory2 in interface javax.jdo.PersistenceManagerFactorypublic boolean getMultithreaded()
getMultithreaded in interface javax.jdo.PersistenceManagerFactorypublic boolean getOptimistic()
getOptimistic in interface javax.jdo.PersistenceManagerFactorypublic boolean getRetainValues()
getRetainValues in interface javax.jdo.PersistenceManagerFactorypublic boolean getRestoreValues()
getRestoreValues in interface javax.jdo.PersistenceManagerFactorypublic boolean getNontransactionalRead()
getNontransactionalRead in interface javax.jdo.PersistenceManagerFactorypublic boolean getNontransactionalWrite()
getNontransactionalWrite in interface javax.jdo.PersistenceManagerFactorypublic boolean getIgnoreCache()
getIgnoreCache in interface javax.jdo.PersistenceManagerFactorypublic boolean getDetachAllOnCommit()
getDetachAllOnCommit in interface javax.jdo.PersistenceManagerFactorypublic boolean getCopyOnAttach()
getCopyOnAttach in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getMapping()
getMapping in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getCatalog()
public java.lang.String getSchema()
public java.lang.String getName()
getName in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getPersistenceUnitName()
getPersistenceUnitName in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getPersistenceXmlFilename()
public java.lang.Integer getDatastoreReadTimeoutMillis()
getDatastoreReadTimeoutMillis in interface javax.jdo.PersistenceManagerFactorypublic java.lang.Integer getDatastoreWriteTimeoutMillis()
getDatastoreWriteTimeoutMillis in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getServerTimeZoneID()
getServerTimeZoneID in interface javax.jdo.PersistenceManagerFactorypublic boolean getReadOnly()
getReadOnly in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getTransactionType()
getTransactionType in interface javax.jdo.PersistenceManagerFactorypublic java.lang.String getTransactionIsolationLevel()
getTransactionIsolationLevel in interface javax.jdo.PersistenceManagerFactoryprotected void assertConfigurable()
assertConfigurable in class PersistenceConfigurationjavax.jdo.JDOUserException - if not configurablepublic java.util.List<LifecycleListenerForClass> getLifecycleListenerSpecifications()
public void addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener,
java.lang.Class[] classes)
addInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactorylistener - The listenerclasses - The classes that the listener relates topublic void removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener listener)
removeInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactorylistener - The Listener
public void addSequenceForFactoryClass(java.lang.String factoryClassName,
javax.jdo.datastore.Sequence sequence)
factoryClassName - Name of the factory classsequence - The sequencepublic javax.jdo.datastore.Sequence getSequenceForFactoryClass(java.lang.String factoryClassName)
factoryClassName - The name of the factory class
public java.util.Set<JDOFetchGroup> getFetchGroups()
getFetchGroups in interface javax.jdo.PersistenceManagerFactory
public javax.jdo.FetchGroup getFetchGroup(java.lang.Class cls,
java.lang.String name)
getFetchGroup in interface javax.jdo.PersistenceManagerFactorypublic void addFetchGroups(javax.jdo.FetchGroup... groups)
addFetchGroups in interface javax.jdo.PersistenceManagerFactorypublic void removeFetchGroups(javax.jdo.FetchGroup... groups)
removeFetchGroups in interface javax.jdo.PersistenceManagerFactorypublic void removeAllFetchGroups()
removeAllFetchGroups in interface javax.jdo.PersistenceManagerFactorypublic javax.jdo.metadata.JDOMetadata newMetadata()
registerMetadata(javax.jdo.metadata.JDOMetadata).
newMetadata in interface javax.jdo.PersistenceManagerFactorypublic void registerMetadata(javax.jdo.metadata.JDOMetadata metadata)
PersistenceManagerFactory.
Metadata can be created using the method newMetadata().
registerMetadata in interface javax.jdo.PersistenceManagerFactorymetadata - The Metadata to register.public javax.jdo.metadata.TypeMetadata getMetadata(java.lang.String className)
getMetadata in interface javax.jdo.PersistenceManagerFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||