result = new Environment();
result = new Environment(Session.getObjectMap(obj));
    Environment getEnvironment(Object obj) {        Environment result = (Environment) m_environments.get(obj);        if (result == null) {            result = new Environment();            m_environments.put(obj, result);        }        return result;    }