|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.objectweb.speedo.pm.lib.SpeedoProxyManager
Is a fractal component exporting the ProxyManager interface. This implementation delegates most of the JDO methods (javax.jdo.PersistenceManager) to the underlying TransactionPersistenceManager, the perseus component managing the concurrency, the caching and the loading aspect. In order to represents a working set (transtional or not) this PM is linked forever to an org.objectweb.speedo.workingset.api.Transaction instance. The status of this Transaction instance changes when this PM is allocated or closed, or when transaction demarcations are done through the javax.jdo.Transaction interface. This implementation uses a QueryManager for allocating CompiledQuery instance. Concerning the javax.jdo.Query implementation, this PM uses org.objectweb.speedo.query.lib.SpeedoQuery which are created each time (No pooling mechanism). The last dependencies is the JormFactory and a P
PersistenceManager,
TransactionalPersistenceManager,
JormFactory,
ProxyManagerFactory,
QueryManager,
CompiledQuery,
Transaction| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_BINDING
|
static java.lang.String |
JORM_FACTORY_BINDING
|
static java.lang.String |
LOGGER_NAME
|
static java.lang.String |
PNAME_CODER_BINDING
|
static java.lang.String |
PROXY_MANAGER_FACTORY_BINDING
|
static java.lang.String |
QUERY_MANAGER_BINDING
|
static java.lang.String |
TRANSACTION_BINDING
|
static java.lang.String |
TRANSACTIONAL_PERSISTENCE_MANAGER_BINDING
|
| Constructor Summary | |
|---|---|
SpeedoProxyManager()
|
|
| Method Summary | |
|---|---|
void |
addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l,
java.lang.Class[] classes)
|
void |
addUse()
Signal to the persistence maneger that it is used. |
void |
afterCompletion(int i)
|
java.lang.Object |
attachCopy(java.lang.Object detached,
boolean makeTransactional)
Apply the changes contained in the detached object to the corresponding persistent instance in the cache. |
java.util.Collection |
attachCopyAll(java.util.Collection detached,
boolean makeTransactional)
|
java.lang.Object[] |
attachCopyAll(java.lang.Object[] detached,
boolean makeTransactional)
|
void |
beforeCompletion()
|
void |
bindFc(java.lang.String s,
java.lang.Object o)
|
void |
checkConsistency()
|
void |
close()
This method closes the PersistenceManager. |
javax.jdo.Query |
createQuery(java.lang.Object o)
|
javax.jdo.Transaction |
currentTransaction()
Return the Transaction instance associated with a PersistenceManager. |
void |
deletePersistent(java.lang.Object o)
Delete the persistent instance from the data store. |
void |
deletePersistentAll(java.util.Collection pcs)
Delete a Set of instances from the data store. |
void |
deletePersistentAll(java.lang.Object[] pcs)
Delete an array of instances from the data store. |
java.lang.Object |
detachCopy(java.lang.Object o)
Make a detached copy of the persitent object o and return it. |
java.util.Collection |
detachCopyAll(java.util.Collection collection)
Create a detached copy for each element of collection (assuming each element is persistent). |
java.lang.Object[] |
detachCopyAll(java.lang.Object[] objects)
|
void |
evict(java.lang.Object o)
Mark an instance as no longer needed in the cache. |
void |
evictAll()
Mark all persistent-nontransactional instances as no longer needed in the cache. |
void |
evictAll(java.util.Collection pcs)
Mark a Set of instances as no longer needed in the cache. |
void |
evictAll(java.lang.Object[] pcs)
Mark an array of instances as no longer needed in the cache. |
void |
flush()
|
java.lang.Object |
getConnectionSpec()
|
javax.jdo.datastore.JDOConnection |
getDataStoreConnection()
|
javax.jdo.Extent |
getExtent(java.lang.Class arg0)
|
javax.jdo.Extent |
getExtent(java.lang.Class persistenceCapableClass,
boolean subclasses)
Not implemented. |
javax.jdo.FetchPlan |
getFetchPlan()
|
boolean |
getIgnoreCache()
Get the ignoreCache setting for queries. |
boolean |
getMultithreaded()
Get the current Multithreaded flag for this PersistenceManager. |
java.lang.Object |
getNativeConnection()
|
java.lang.Object |
getObjectById(java.lang.Class arg0,
java.lang.Object oid)
|
java.lang.Object |
getObjectById(java.lang.Object oid)
|
java.lang.Object |
getObjectById(java.lang.Object oid,
boolean validate)
This method locates a persistent instance in the cache of instances managed by this PersistenceManager. |
java.lang.Object |
getObjectId(java.lang.Object pc)
The ObjectId returned by this method represents the JDO identity of the instance. |
java.lang.Class |
getObjectIdClass(java.lang.Class cls)
Fetches the Null PName associated to the PBinder of the persistent class |
java.util.Collection |
getObjectsById(java.util.Collection arg0)
|
java.util.Collection |
getObjectsById(java.util.Collection arg0,
boolean validate)
|
java.lang.Object[] |
getObjectsById(java.lang.Object[] arg0)
|
java.lang.Object[] |
getObjectsById(java.lang.Object[] arg0,
boolean arg1)
|
javax.jdo.PersistenceManagerFactory |
getPersistenceManagerFactory()
|
org.objectweb.perseus.concurrency.lib.Semaphore |
getSemaphore()
Retrieves the semaphore object permiting the multithreading mode. |
javax.jdo.datastore.Sequence |
getSequence(java.lang.String name)
|
java.lang.Object |
getTransactionalObjectId(java.lang.Object o)
Not implemented. |
org.objectweb.perseus.persistence.api.TransactionalPersistenceManager |
getTransactionalPersistenceManager()
Retrieves the TransactionalPersistenceManager used by this ProxyManager. |
java.lang.Object |
getUserObject()
The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance. |
java.lang.Object |
getUserObject(java.lang.Object arg0)
|
boolean |
isClosed()
A PersistenceManager instance can be used until it is closed. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String s)
|
void |
makeNontransactional(java.lang.Object o)
|
void |
makeNontransactionalAll(java.util.Collection pcs)
|
void |
makeNontransactionalAll(java.lang.Object[] pcs)
|
void |
makePersistent(java.lang.Object o)
Make the transient instance persistent in this PersistenceManager. |
void |
makePersistentAll(java.util.Collection pcs)
Make a Set of instances persistent. |
void |
makePersistentAll(java.lang.Object[] pcs)
Make an array of instances persistent. |
void |
makeTransactional(java.lang.Object o)
Make an instance subject to transactional boundaries. |
void |
makeTransactionalAll(java.util.Collection pcs)
Make a Set of instances subject to transactional boundaries. |
void |
makeTransactionalAll(java.lang.Object[] pcs)
Make an array of instances subject to transactional boundaries. |
void |
makeTransient(java.lang.Object o)
Make an instance transient, removing it from management by this PersistenceManager. |
void |
makeTransientAll(java.util.Collection pcs)
Make a Set of instances transient, removing them from management by this PersistenceManager. |
void |
makeTransientAll(java.lang.Object[] pcs)
Make an array of instances transient, removing them from management by this PersistenceManager. |
java.lang.Object |
newInstance(java.lang.Class arg0)
|
javax.jdo.Query |
newNamedQuery(java.lang.Class klass,
java.lang.String name)
|
java.lang.Object |
newObjectIdInstance(java.lang.Class aClass,
java.lang.Object s)
|
javax.jdo.Query |
newQuery()
Create a new Query with no elements. |
javax.jdo.Query |
newQuery(java.lang.Class cls)
Create a new Query specifying the Class of the candidate instances. |
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.util.Collection cln)
Create a new Query with the Class of the candidate instances and candidate Set. |
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
Create a new Query with the Class of the candidate instances, candidate Set, and filter. |
javax.jdo.Query |
newQuery(java.lang.Class cls,
java.lang.String filter)
Create a new Query with the Class of the candidate instances and filter. |
javax.jdo.Query |
newQuery(javax.jdo.Extent extent)
|
javax.jdo.Query |
newQuery(javax.jdo.Extent extent,
java.lang.String filter)
|
javax.jdo.Query |
newQuery(java.lang.Object compiled)
Create a new Query using elements from another Query. |
javax.jdo.Query |
newQuery(java.lang.String query)
|
javax.jdo.Query |
newQuery(java.lang.String language,
java.lang.Object query)
Create a new Query using the specified language. |
void |
open(java.lang.Object connectionspec)
Opens the persistent manager. |
java.lang.Object |
putUserObject(java.lang.Object arg0,
java.lang.Object arg1)
|
void |
refresh(java.lang.Object o)
Refresh the state of the instance from the data store. |
void |
refreshAll()
Refresh the state of all applicable instances from the data store. |
void |
refreshAll(java.util.Collection pcs)
Refresh the state of a Set of instances from the data store. |
void |
refreshAll(javax.jdo.JDOException arg0)
|
void |
refreshAll(java.lang.Object[] pcs)
Refresh the state of an array of instances from the data store. |
void |
removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener classes)
|
java.lang.Object |
removeUserObject(java.lang.Object arg0)
|
void |
retrieve(java.lang.Object o)
|
void |
retrieveAll(java.util.Collection pcs)
|
void |
retrieveAll(java.util.Collection collection,
boolean b)
|
void |
retrieveAll(java.lang.Object[] pcs)
|
void |
retrieveAll(java.lang.Object[] objects,
boolean b)
|
void |
setIgnoreCache(boolean flag)
Set the ignoreCache parameter for queries. |
void |
setMultithreaded(boolean flag)
Set the Multithreaded flag for this PersistenceManager. |
void |
setUserObject(java.lang.Object o)
|
java.lang.Object |
speedoAttachCopy(java.lang.Object detached,
boolean makeTransactional,
java.util.Map map)
Apply the changes contained in the detached object to the corresponding persistent instance in the cache. |
void |
speedoDeletePersistent(java.lang.Object o)
Delete persistent a SpeedoProxy. |
java.lang.Object |
speedoDetachCopy(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
Same as detachCopy(Object detached), but uses a map to avoid cycles when detaching objects referencing each other |
java.lang.Object |
speedoGetObjectById(java.lang.Object oid,
boolean validate)
is the same method than PersistenceManager.getObjectById(Object, boolean) but no checking is done, because this is an internal call of Speedo. |
void |
speedoMakePersistent(SpeedoProxy sp,
boolean byAttach)
Make persistent a SpeedoProxy. |
void |
speedoRefresh(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
|
void |
speedoRetrieve(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
|
void |
unbindFc(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PROXY_MANAGER_FACTORY_BINDING
public static final java.lang.String TRANSACTIONAL_PERSISTENCE_MANAGER_BINDING
public static final java.lang.String QUERY_MANAGER_BINDING
public static final java.lang.String TRANSACTION_BINDING
public static final java.lang.String JORM_FACTORY_BINDING
public static final java.lang.String PNAME_CODER_BINDING
public static final java.lang.String COMPONENT_BINDING
public static final java.lang.String LOGGER_NAME
| Constructor Detail |
public SpeedoProxyManager()
| Method Detail |
public javax.jdo.Query createQuery(java.lang.Object o)
public java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object lookupFc(java.lang.String s)
lookupFc in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String s,
java.lang.Object o)
bindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic void unbindFc(java.lang.String s)
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object getNativeConnection()
getNativeConnection in interface javax.jdo.datastore.JDOConnection
public void addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l,
java.lang.Class[] classes)
addInstanceLifecycleListener in interface javax.jdo.PersistenceManagerpublic void removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener classes)
removeInstanceLifecycleListener in interface javax.jdo.PersistenceManagerpublic void flush()
flush in interface javax.jdo.PersistenceManagerpublic javax.jdo.datastore.JDOConnection getDataStoreConnection()
getDataStoreConnection in interface javax.jdo.PersistenceManagerpublic javax.jdo.FetchPlan getFetchPlan()
getFetchPlan in interface javax.jdo.PersistenceManagerpublic java.lang.Class getObjectIdClass(java.lang.Class cls)
getObjectIdClass in interface javax.jdo.PersistenceManagerpublic boolean isClosed()
isClosed in interface javax.jdo.PersistenceManagerclose()public void close()
close in interface javax.jdo.PersistenceManagerjavax.jdo.JDOUserException - if the transaction associated to
the persistence manager is active.
javax.jdo.JDOFatalDataStoreException - if there is a problem while
releasing the persistence manager.public javax.jdo.Transaction currentTransaction()
currentTransaction in interface javax.jdo.PersistenceManagerpublic void evict(java.lang.Object o)
evict in interface javax.jdo.PersistenceManagero - the instance to evict from the cache.public void evictAll(java.lang.Object[] pcs)
evictAll in interface javax.jdo.PersistenceManagerpcs - the array of instances to evict from the cache.
javax.jdo.JDOUserException - if some instances cannot be removed.evict(java.lang.Object pc)public void evictAll(java.util.Collection pcs)
evictAll in interface javax.jdo.PersistenceManagerpcs - the Set of instance to evict from the cache.evict(java.lang.Object pc)public void evictAll()
evictAll in interface javax.jdo.PersistenceManagerevict(java.lang.Object pc)public void refresh(java.lang.Object o)
In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed.
Outside a transaction, this method will refresh nontransactional state.
refresh in interface javax.jdo.PersistenceManagero - the instance to refresh.
public void speedoRefresh(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
speedoRefresh in interface ProxyManagerpublic void refreshAll(java.lang.Object[] pcs)
refreshAll in interface javax.jdo.PersistenceManagerpcs - the array of instances to refresh.
object.refresh(java.lang.Object pc)public void refreshAll(java.util.Collection pcs)
refreshAll in interface javax.jdo.PersistenceManagerpcs - the Set of instances to refresh.refresh(java.lang.Object pc)public void refreshAll()
If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed.
refreshAll in interface javax.jdo.PersistenceManagerrefresh(java.lang.Object pc)public void refreshAll(javax.jdo.JDOException arg0)
refreshAll in interface javax.jdo.PersistenceManagerpublic javax.jdo.Query newQuery()
newQuery in interface javax.jdo.PersistenceManagerpublic javax.jdo.Query newQuery(java.lang.String query)
newQuery in interface javax.jdo.PersistenceManager
public javax.jdo.Query newNamedQuery(java.lang.Class klass,
java.lang.String name)
newNamedQuery in interface javax.jdo.PersistenceManagerpublic javax.jdo.Query newQuery(java.lang.Object compiled)
All of the settings of the other Query are copied to this Query, except for the candidate Set or Extent.
newQuery in interface javax.jdo.PersistenceManagercompiled - another Query from the same JDO implementation
public javax.jdo.Query newQuery(java.lang.String language,
java.lang.Object query)
newQuery in interface javax.jdo.PersistenceManagerlanguage - the language of the query parameterquery - the query, which is of a form determined by the language
public javax.jdo.Query newQuery(java.lang.Class cls)
newQuery in interface javax.jdo.PersistenceManagercls - the Class of the candidate instances
public javax.jdo.Query newQuery(javax.jdo.Extent extent)
newQuery in interface javax.jdo.PersistenceManager
public javax.jdo.Query newQuery(javax.jdo.Extent extent,
java.lang.String filter)
newQuery in interface javax.jdo.PersistenceManager
public javax.jdo.Query newQuery(java.lang.Class cls,
java.util.Collection cln)
newQuery in interface javax.jdo.PersistenceManagercls - the Class of resultscln - the Set of candidate instances
public javax.jdo.Query newQuery(java.lang.Class cls,
java.lang.String filter)
newQuery in interface javax.jdo.PersistenceManagercls - the Class of resultsfilter - the filter for candidate instances
public javax.jdo.Query newQuery(java.lang.Class cls,
java.util.Collection cln,
java.lang.String filter)
newQuery in interface javax.jdo.PersistenceManagercls - the Class of candidate instancescln - the Set of candidate instancesfilter - the filter for candidate instances
public javax.jdo.Extent getExtent(java.lang.Class persistenceCapableClass,
boolean subclasses)
getExtent in interface javax.jdo.PersistenceManagerpersistenceCapableClass - Class of instancessubclasses - whether to include instances of subclasses
public javax.jdo.Extent getExtent(java.lang.Class arg0)
getExtent in interface javax.jdo.PersistenceManager
public java.lang.Object getObjectById(java.lang.Object oid,
boolean validate)
getObjectById in interface javax.jdo.PersistenceManageroid - an ObjectIdvalidate - if the existence of the instance is to be validated. The
flag is ignored in this implementation.
getObjectId(java.lang.Object pc),
getTransactionalObjectId(java.lang.Object pc)
public java.lang.Object getObjectById(java.lang.Class arg0,
java.lang.Object oid)
getObjectById in interface javax.jdo.PersistenceManagerpublic java.lang.Object getObjectById(java.lang.Object oid)
getObjectById in interface javax.jdo.PersistenceManager
public java.util.Collection getObjectsById(java.util.Collection arg0,
boolean validate)
getObjectsById in interface javax.jdo.PersistenceManagerpublic java.util.Collection getObjectsById(java.util.Collection arg0)
getObjectsById in interface javax.jdo.PersistenceManager
public java.lang.Object[] getObjectsById(java.lang.Object[] arg0,
boolean arg1)
getObjectsById in interface javax.jdo.PersistenceManagerpublic java.lang.Object[] getObjectsById(java.lang.Object[] arg0)
getObjectsById in interface javax.jdo.PersistenceManager
public java.lang.Object speedoGetObjectById(java.lang.Object oid,
boolean validate)
ProxyManager
speedoGetObjectById in interface ProxyManageroid - is an object representing an persistent object.public java.lang.Object getObjectId(java.lang.Object pc)
getObjectId in interface javax.jdo.PersistenceManagerpc - the PersistenceCapable instance
getTransactionalObjectId(java.lang.Object pc),
getObjectById(java.lang.Object oid, boolean validate)public java.lang.Object getTransactionalObjectId(java.lang.Object o)
If the object identity is being changed in the transaction, by the application modifying one or more of the application key fields, then this method returns the current identity in the transaction.
If there is no transaction in progress, or if none of the key fields is being modified, then this method will return the same value as getObjectId.
getTransactionalObjectId in interface javax.jdo.PersistenceManagero - a PersistenceCapable instance
getObjectId(java.lang.Object pc),
getObjectById(java.lang.Object oid, boolean validate)public void makePersistent(java.lang.Object o)
makePersistent in interface javax.jdo.PersistenceManagero - a transient instance of a Class that implements
PersistenceCapable
public void speedoMakePersistent(SpeedoProxy sp,
boolean byAttach)
ProxyManager
speedoMakePersistent in interface ProxyManagersp - is the instance to make persistent.byAttach - is a boolean value indicating if the instance to make
persistent becomes persistent because the instance is linked/attached to
a persistent object (true), or because the user calls explicitly
pm.makePersistent(Obj) (false).public void makePersistentAll(java.lang.Object[] pcs)
makePersistentAll in interface javax.jdo.PersistenceManagerpcs - an array of transient instances
javax.jdo.JDOUserException - if an object cannot be made persistent.makePersistent(java.lang.Object pc)public void makePersistentAll(java.util.Collection pcs)
makePersistentAll in interface javax.jdo.PersistenceManagerpcs - a Set of transient instancesmakePersistent(java.lang.Object pc)public void deletePersistent(java.lang.Object o)
deletePersistent in interface javax.jdo.PersistenceManagero - a persistent instance
javax.jdo.JDOUserException - if the instance is transient or managed by
another PersistenceManager.public void speedoDeletePersistent(java.lang.Object o)
ProxyManager
speedoDeletePersistent in interface ProxyManagero - is the instance to make persistent.public void deletePersistentAll(java.lang.Object[] pcs)
deletePersistentAll in interface javax.jdo.PersistenceManagerpcs - a Set of persistent instancesdeletePersistent(java.lang.Object pc)public void deletePersistentAll(java.util.Collection pcs)
deletePersistentAll in interface javax.jdo.PersistenceManagerpcs - a Set of persistent instancesdeletePersistent(java.lang.Object pc)public void makeTransient(java.lang.Object o)
The instance loses its JDO identity and it is no longer associated with any PersistenceManager. The state of fields is preserved unchanged.
makeTransient in interface javax.jdo.PersistenceManagero - the instance to make transient.
javax.jdo.JDOUserException - if the instance is dirty.public void makeTransientAll(java.lang.Object[] pcs)
makeTransientAll in interface javax.jdo.PersistenceManagerpcs - the instances to make transient.makeTransient(java.lang.Object pc)public void makeTransientAll(java.util.Collection pcs)
The instances lose their JDO identity and they are no longer associated with any PersistenceManager. The state of fields is preserved unchanged.
makeTransientAll in interface javax.jdo.PersistenceManagerpcs - the instances to make transient.public void makeTransactional(java.lang.Object o)
makeTransactional in interface javax.jdo.PersistenceManagero - the instance to make transactional.PersistenceManager.makeTransactional(java.lang.Object)public void makeTransactionalAll(java.lang.Object[] pcs)
makeTransactionalAll in interface javax.jdo.PersistenceManagerpcs - the array of instances to make transactional.makeTransactional(java.lang.Object pc)public void makeTransactionalAll(java.util.Collection pcs)
makeTransactionalAll in interface javax.jdo.PersistenceManagerpcs - the Set of instances to make transactional.makeTransactional(java.lang.Object pc)public void makeNontransactional(java.lang.Object o)
makeNontransactional in interface javax.jdo.PersistenceManagerpublic void makeNontransactionalAll(java.lang.Object[] pcs)
makeNontransactionalAll in interface javax.jdo.PersistenceManagerpublic void makeNontransactionalAll(java.util.Collection pcs)
makeNontransactionalAll in interface javax.jdo.PersistenceManagerpublic void setUserObject(java.lang.Object o)
setUserObject in interface javax.jdo.PersistenceManagerpublic java.lang.Object getUserObject()
getUserObject in interface javax.jdo.PersistenceManagersetUserObject(java.lang.Object)public javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory()
getPersistenceManagerFactory in interface javax.jdo.PersistenceManagerpublic void setMultithreaded(boolean flag)
setMultithreaded in interface javax.jdo.PersistenceManagerflag - the Multithreaded setting.public boolean getMultithreaded()
getMultithreaded in interface javax.jdo.PersistenceManagersetMultithreaded(boolean)public void setIgnoreCache(boolean flag)
setIgnoreCache in interface javax.jdo.PersistenceManagerflag - the ignoreCache setting.public boolean getIgnoreCache()
getIgnoreCache in interface javax.jdo.PersistenceManagersetIgnoreCache(boolean)
public java.lang.Object newObjectIdInstance(java.lang.Class aClass,
java.lang.Object s)
newObjectIdInstance in interface javax.jdo.PersistenceManagerpublic void retrieve(java.lang.Object o)
retrieve in interface javax.jdo.PersistenceManager
public void speedoRetrieve(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
speedoRetrieve in interface ProxyManagerpublic void retrieveAll(java.util.Collection pcs)
retrieveAll in interface javax.jdo.PersistenceManagerpublic void retrieveAll(java.lang.Object[] pcs)
retrieveAll in interface javax.jdo.PersistenceManager
public void retrieveAll(java.util.Collection collection,
boolean b)
retrieveAll in interface javax.jdo.PersistenceManager
public void retrieveAll(java.lang.Object[] objects,
boolean b)
retrieveAll in interface javax.jdo.PersistenceManagerpublic java.lang.Object detachCopy(java.lang.Object o)
detachCopy in interface javax.jdo.PersistenceManagero -
public java.lang.Object speedoDetachCopy(SpeedoProxy sp,
java.util.Map map,
java.util.Collection fgHints)
ProxyManager
speedoDetachCopy in interface ProxyManagermap - the map contains element of type: [SpeedoProxy, clone of SpeedoProxy]public java.util.Collection detachCopyAll(java.util.Collection collection)
detachCopyAll in interface javax.jdo.PersistenceManagercollection -
public java.lang.Object[] detachCopyAll(java.lang.Object[] objects)
detachCopyAll in interface javax.jdo.PersistenceManager
public java.lang.Object attachCopy(java.lang.Object detached,
boolean makeTransactional)
attachCopy in interface javax.jdo.PersistenceManagerdetached - makeTransactional -
public java.lang.Object speedoAttachCopy(java.lang.Object detached,
boolean makeTransactional,
java.util.Map map)
speedoAttachCopy in interface ProxyManagerdetached - makeTransactional - map - is the attachement context
public java.util.Collection attachCopyAll(java.util.Collection detached,
boolean makeTransactional)
attachCopyAll in interface javax.jdo.PersistenceManager
public java.lang.Object[] attachCopyAll(java.lang.Object[] detached,
boolean makeTransactional)
attachCopyAll in interface javax.jdo.PersistenceManagerpublic java.lang.Object getUserObject(java.lang.Object arg0)
getUserObject in interface javax.jdo.PersistenceManager
public java.lang.Object putUserObject(java.lang.Object arg0,
java.lang.Object arg1)
putUserObject in interface javax.jdo.PersistenceManagerpublic java.lang.Object removeUserObject(java.lang.Object arg0)
removeUserObject in interface javax.jdo.PersistenceManagerpublic void checkConsistency()
checkConsistency in interface javax.jdo.PersistenceManagerpublic javax.jdo.datastore.Sequence getSequence(java.lang.String name)
getSequence in interface javax.jdo.PersistenceManagerpublic java.lang.Object newInstance(java.lang.Class arg0)
newInstance in interface javax.jdo.PersistenceManagerpublic org.objectweb.perseus.persistence.api.TransactionalPersistenceManager getTransactionalPersistenceManager()
ProxyManager
getTransactionalPersistenceManager in interface ProxyManagerpublic void open(java.lang.Object connectionspec)
ProxyManager
open in interface ProxyManagerconnectionspec - is the information to access to the data store
(user, password, ...)public java.lang.Object getConnectionSpec()
getConnectionSpec in interface ProxyManagerpublic void addUse()
ProxyManager
addUse in interface ProxyManagerpublic void beforeCompletion()
beforeCompletion in interface javax.transaction.Synchronizationpublic void afterCompletion(int i)
afterCompletion in interface javax.transaction.Synchronizationpublic org.objectweb.perseus.concurrency.lib.Semaphore getSemaphore()
ProxyManager
getSemaphore in interface ProxyManager
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||