Package com.sun.ejb.spi.sfsb.store

Examples of com.sun.ejb.spi.sfsb.store.SFSBStoreManager


  SFSBContainerInitialization container, EjbDescriptor descriptor)
    {
  try {
      super.initializePersistenceStrategy(container, descriptor);

      SFSBStoreManager storeManager = createStoreManager(
        container, descriptor);
      container.setSFSBStoreManager(storeManager);

  } catch (Throwable th) {
      _logger.log(Level.SEVERE, "Could not initialize container "
View Full Code Here


        catch (SQLException sqe) {
            sqe.printStackTrace();
        }

        //bean = new SFSBBeanState(id, lastaccess, false, beandata);
        SFSBStoreManager mgr = this.manager;
        bean = new SFSBBeanState(clusterid, longContId, id, lastaccess,
                false, beandata, mgr);
       
        if(_logger.isLoggable(Level.FINER)) {
            _logger.exiting("HAEjbStore", "getSFSBean", bean);
View Full Code Here

        }
        catch (SQLException sqe) {
            sqe.printStackTrace();
        }

        SFSBStoreManager mgr = this.manager;
        bean = new SFSBBeanState(clusterid, longContId, beanId, lastaccess,
                false, beandata, mgr);
       
        if(_logger.isLoggable(Level.FINER)) {
            _logger.exiting("HAEjbStore", "getSFSBean", bean);
View Full Code Here

  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,
View Full Code Here

    public void checkpointSave(SFSBBeanState[] beanStates)
        throws SFSBStoreManagerException
    {
  int sz = beanStates.length;
  for (int i=0; i<sz; i++) {
      SFSBStoreManager manager = beanStates[i].getSFSBStoreManager();
      try {
    if (manager == null) {
        _logger.log(Level.WARNING,
      "StoreManager is null. Cannot checkpoint");
    } else {
        manager.checkpointSave(beanStates[i]);
        if (_logger.isLoggable(TRACE_LEVEL)) {
      _logger.log(TRACE_LEVEL, "Successfully txCheckpointed "
          + beanStates.length + " beans...");
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.ejb.spi.sfsb.store.SFSBStoreManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.