if (EEPersistenceTypeResolver.REPLICATED_TYPE.equalsIgnoreCase(passedInPersistenceType)) {
JxtaReplicationReceiver receiver = JxtaReplicationReceiver.createInstance();
receiver.doPipeInitialization();
// 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);