}
@Override
public ZookeeperStateNode getRoot(String id) {
ZookeeperEntityManager entityManager = entityManagerProvider.get();
ZookeeperEntityTransaction transaction = entityManager.getTransaction();
ZookeeperStateNode stateNode = transaction.findRoot(id);
if (stateNode == null) {
stateNode = new ZookeeperStateNode(null, id);
transaction.putRoot(id, stateNode);
}