code: @Override
    public IRxSessionData getAppSessionData(Class<? extends AppSession> clazz, String sessionId) {
      if (clazz.equals(ClientRxSession.class)) {
        ClientRxSessionDataReplicatedImpl data =
            new ClientRxSessionDataReplicatedImpl(sessionId, this.mobicentsCluster, this.replicatedSessionDataSource.getContainer());
        return data;
      }
      else if (clazz.equals(ServerRxSession.class)) {
        ServerRxSessionDataReplicatedImpl data = new ServerRxSessionDataReplicatedImpl(sessionId, this.mobicentsCluster);
        return data;
      }
      throw new IllegalArgumentException();
    }
docs: /*
  (non-Javadoc)
  
  @see org.jdiameter.common.api.app.IAppSessionDataFactory#getAppSessionData(java.lang.Class, java.lang.String)