FileDocCategorySizeDatePackage
HaTxStoreManager.javaAPI DocGlassfish v2 API3251Fri May 04 22:32:56 BST 2007com.sun.ejb.ee.sfsb.store

HaTxStoreManager

public class HaTxStoreManager extends Object implements com.sun.ejb.spi.sfsb.store.SFSBTxStoreManager
A SFSBTxStoreManager that stores multiple SFSBBeanStates as a single transactional unit.
author
Mahesh Kannan

Fields Summary
protected static final Logger
_logger
Constructors Summary
public HaTxStoreManager()


      
    
Methods Summary
public voidcheckpointSave(com.sun.ejb.spi.sfsb.store.SFSBBeanState[] beanStates)

	if ((beanStates == null) || (beanStates.length == 0)) {
	    _logger.log(Level.WARNING, "No BeanStates to checkpoint.");
	    return;
	}

	SFSBStoreManager manager = beanStates[0].getSFSBStoreManager();

	try {
	    ((SFSBTxStoreManager) manager).checkpointSave(beanStates);
	} catch (SFSBStoreManagerException smEx) {
	    _logger.log(Level.WARNING,
		"StoreManagerException during checkpointSave", smEx);
	} catch (Throwable th) {
	    _logger.log(Level.WARNING,
		"Exception during checkpointSave", th);
	}