de.grogra.persistence
Class PersistenceConnection

java.lang.Object
  extended by de.grogra.persistence.PersistenceConnection
Direct Known Subclasses:
ClientConnection, ServerConnection

public abstract class PersistenceConnection
extends java.lang.Object


Constructor Summary
PersistenceConnection(PersistenceBindings bindings)
           
 
Method Summary
abstract  void commit(Transaction.Data xa, long stamp)
           
abstract  void deregisterManager(PersistenceManager manager)
           
 PersistenceBindings getBindings()
           
 BindingsCache getLocalCache()
           
 void initializeCache(BindingsCache localCache)
           
abstract  short registerManager(PersistenceManager manager, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceConnection

public PersistenceConnection(PersistenceBindings bindings)
Method Detail

commit

public abstract void commit(Transaction.Data xa,
                            long stamp)

deregisterManager

public abstract void deregisterManager(PersistenceManager manager)

getBindings

public PersistenceBindings getBindings()

getLocalCache

public BindingsCache getLocalCache()

initializeCache

public void initializeCache(BindingsCache localCache)

registerManager

public abstract short registerManager(PersistenceManager manager,
                                      java.lang.String key)