if (repoItemHttpElemClass == RepositoryHttpPlayer.class) {
elem = new RepositoryHttpPlayerImpl(repositoryItem, sessionIdInURL,
url, this);
} else {
elem = new RepositoryHttpRecorderImpl(repositoryItem,
sessionIdInURL, url, this);
}
sessions.put(sessionIdInURL, elem);