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 Details

getCacheManager

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


getConcurrencyManager

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


getContextCopyManager

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


setCacheManager

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

Parameters:
cm - is the cache.


setConcurrencyManager

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

Parameters:
cm - is the ConcurrencyManager instance.


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.


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