Package com.sun.appserv.ha.spi

Examples of com.sun.appserv.ha.spi.BackingStore.save()


        }        
        try {
            SimpleMetadata smd = SimpleMetadataFactory.createSimpleMetadata(sas.getInternalLastAccessedTime(), //internallastaccesstime
                    sas.getVersion(), //version
                    sas.getExtraParameters());
            replicator.save(sas.getId(), smd, sas.isReplicated())//containerExtraParams
        } catch (BackingStoreException ex) {
            IOException ex1 =
                (IOException) new IOException("Error during updateContainerExtraParam: " + ex.getMessage()).initCause(ex);
            throw ex1;
        }
View Full Code Here


            simpleMetadata.setBeKey(beKey);
            simpleMetadata.setOwningInstanceName(ReplicationUtil.getInstanceName());
        }

        try {
            replicator.save(haTimer.getId(), //id
                    simpleMetadata, haTimer.isReplicated());
        } catch (BackingStoreException ex) {
            IOException ex1 =
                (IOException) new IOException("Error during save: " + ex.getMessage()).initCause(ex);
            throw ex1;
View Full Code Here

        }
        try {
            SimpleMetadata smd = SimpleMetadataFactory.createSimpleMetadata(0L, //lastaccesstime not used for ServletTimer
                    timer.getVersion(), //version
                    timer.getExtraParameters());
            replicator.save(timer.getId(), smd, timer.isReplicated()); //containerExtraParams
        } catch (BackingStoreException ex) {
            IOException ex1 =
                (IOException) new IOException("Error during updateContainerExtraParam: " + ex.getMessage()).initCause(ex);
            throw ex1;
        }
View Full Code Here

            simpleMetadata.setBeKey(beKey);
            simpleMetadata.setOwningInstanceName(ReplicationUtil.getInstanceName());
        }
               
        try {       
            replicator.save(haSession.getId(), //id
                    simpleMetadata, haSession.isReplicated());
        } catch (BackingStoreException ex) {
            IOException ex1 =
                (IOException) new IOException("Error during save: " + ex.getMessage()).initCause(ex);
            throw ex1;
View Full Code Here

        try {
            SimpleMetadata smd = SimpleMetadataFactory.createSimpleMetadata(
                    sipSession.getInternalLastAccessedTime(), //internallastaccesstime
                    sipSession.getVersion(), //version
                    sipSession.getExtraParameters());
            replicator.save(sipSession.getId(), smd, sipSession.isReplicated()); //containerExtraParams
        } catch (BackingStoreException ex) {
            IOException ex1 =
                (IOException) new IOException("Error during updateContainerExtraParam: " + ex.getMessage()).initCause(ex);
            throw ex1;
        }
View Full Code Here

        }        
        CompositeMetadata compositeMetadata
            = createCompositeMetadata(modAttrSession);
               
        try {       
            replicator.save(session.getIdInternal(), //id
                    compositeMetadata, !((HASession) session).isPersistent());
            modAttrSession.resetAttributeState();
            //postSaveUpdate(modAttrSession);
        } catch (BackingStoreException ex) {
            //FIXME
View Full Code Here

        }        
        CompositeMetadata compositeMetadata
            = createCompositeMetadata(modAttrSession);
               
        try {       
            replicator.save(session.getIdInternal(), //id
                    compositeMetadata, !((HASession) session).isPersistent());
            modAttrSession.resetAttributeState();
            //postSaveUpdate(modAttrSession);
        } catch (BackingStoreException ex) {
            //FIXME
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.