org.objectweb.perseus.persistence.api
Interface PersistenceManagerBindingController


public interface PersistenceManagerBindingController

This interface defines the links needed by a PersistenceManager: - a CacheManager [ - a ConcurencyManager implementation ] [ - another PersistentManager which has the role of ContextCopyManager] This interface is a Binding Controller weither the Fractal terminology.

Author:
Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)

Method Summary
 CacheManager getCacheManager()
          It retrieves the CacheManager used by the PersistenceManager.
 ConcurrencyManager getConcurrencyManager()
          It retrieves the ConcurrencyManager used by the PersistenceManager.
 PersistenceManager getContextCopyManager()
          It retrieves the ContextCopyManager used by the PersistenceManager.
 void setCacheManager(CacheManager cm)
          It assignes the CacheManager used by the PersistenceManager.
 void setConcurrencyManager(ConcurrencyManager cm)
          It assignes the ConcurrencyManager instance.
 void setContextCopyManager(PersistenceManager pm)
          It assignes the context copy manager instance.
 

Method Detail

setCacheManager

public void setCacheManager(CacheManager cm)
It assignes the CacheManager used by the PersistenceManager.

Parameters:
cm - is the cache.

getCacheManager

public CacheManager getCacheManager()
It retrieves the CacheManager used by the PersistenceManager.


setContextCopyManager

public void setContextCopyManager(PersistenceManager pm)
It assignes the context copy manager instance. A context copy manager implements the PersistentManager interface. In addition It is optional.

Parameters:
pm - is the context copy manager.

getContextCopyManager

public PersistenceManager getContextCopyManager()
It retrieves the ContextCopyManager used by the PersistenceManager.


setConcurrencyManager

public void setConcurrencyManager(ConcurrencyManager cm)
It assignes the ConcurrencyManager instance. It is optional.

Parameters:
cm - is the ConcurrencyManager instance.

getConcurrencyManager

public ConcurrencyManager getConcurrencyManager()
It retrieves the ConcurrencyManager used by the PersistenceManager.



Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.