Package org.jvnet.glassfish.comms.replication.dialogmgmt

Examples of org.jvnet.glassfish.comms.replication.dialogmgmt.ReplicationDialogFragmentManager


 
            // ensure the Replication DialogFragmentManager service is initialized and started.
            DialogFragmentManager dfm = DialogFragmentManager.getInstance();
            try {
                if (dfm instanceof ReplicationDialogFragmentManager) {
                    ReplicationDialogFragmentManager rdfm = (ReplicationDialogFragmentManager) dfm;
                    ReplicaCache replicaCache = new ReplicaCache(mgr);
                    rdfm.setReplicaCache(replicaCache);                   
                    setDuplicateIdsSemanticsAllowedForDialogs(rdfm);
                    rdfm.initializeReplication(passedInPersistenceType, haStorePoolSize, haStorePoolUpperSize, haStorePoolPollTime);                   
                    rdfm.startReplication();
                }
            } catch (IllegalStateException isex) {
                LogUtil.SSR_LOGGER.getLogger().log(Level.SEVERE, "df_manager_startup_error");
                LogUtil.SSR_LOGGER.getLogger().log(Level.SEVERE, isex.getMessage(), isex);
            }
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.replication.dialogmgmt.ReplicationDialogFragmentManager

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.