//ISession session = sessions.remove(id);
        //session.close();
        //session = null;
        public virtual System.Collections.Generic.IList <string> GetSessionDescriptions(System.Collections.IDictionary
                                                                                        connectionManagers)
        {
            System.Collections.Generic.IList <string> l = new System.Collections.Generic.List <
                string>();
            System.Collections.Generic.IEnumerator <string> iterator = sessions.Keys.GetEnumerator
                                                                           ();
            string sid = null;

            NeoDatis.Odb.Core.Transaction.ISession session           = null;
            NeoDatis.Odb.Core.Server.Connection.ConnectionManager cm = null;
            System.Text.StringBuilder buffer = null;
            while (iterator.MoveNext())
            {
                sid     = iterator.Current;
                session = sessions[sid];
                cm      = (NeoDatis.Odb.Core.Server.Connection.ConnectionManager)connectionManagers[session
                                                                                                    .GetBaseIdentification()];
                buffer = new System.Text.StringBuilder("Session " + sid + " : " + session.ToString
                                                           ());
                if (cm != null)
                {
                    buffer.Append(" - Number of connections=" + cm.GetNbConnections());
                    buffer.Append(cm.GetConnectionDescriptions());
                }
                l.Add(buffer.ToString());
            }
            return(l);
        }
        //DLogger.info(StringUtils.exceptionToString(new Exception()));
        public override string ToString()
        {
            System.Text.StringBuilder buffer = new System.Text.StringBuilder();
            System.Collections.Generic.IEnumerator <string> iterator = sessions.Keys.GetEnumerator
                                                                           ();
            string sid = null;

            NeoDatis.Odb.Core.Transaction.ISession session = null;
            while (iterator.MoveNext())
            {
                sid     = iterator.Current;
                session = sessions[sid];
                buffer.Append(sid).Append(":").Append(session.ToString()).Append("\n");
            }
            return(buffer.ToString());
        }