Пример #1
0
 public void sessionCreated(HttpSessionBindingEvent se) {
   try {
     Log.info("HttpSession Created...");
   } catch (Exception e) {
     Log.info("Exception from sessionCreated ::" + e);
   }
 }
Пример #2
0
 public void valueUnbound(HttpSessionBindingEvent pinsEvent) {
   SessionUtil.setNowUser(-1);
   Log.info(
       " <SESSIONLOGINID> <DELETED FROM SESSION> <LOGIN_ID:"
           + loginId_
           + "><SESSION_ID:"
           + sessionId_
           + ">");
 }
Пример #3
0
 public ResultSet executeQuery() throws SQLException {
   try {
     return statement.executeQuery();
   } catch (SQLException se) {
     Log.info(se.toString(), this);
     throw se;
   } finally {
   }
 }
Пример #4
0
 public boolean execute() throws SQLException {
   try {
     return statement.execute();
   } catch (SQLException se) {
     Log.info(se.toString(), this);
     throw se;
   } finally {
   }
 }
Пример #5
0
 public int executeUpdate() throws SQLException {
   int result = 0;
   try {
     result = statement.executeUpdate();
   } catch (SQLException se) {
     Log.info(se.toString(), this);
     throw se;
   } finally {
   }
   return result;
 }
Пример #6
0
 public void valueBound(HttpSessionBindingEvent pinsEvent) {
   SessionUtil.setNowUser(1);
   Log.info(" <SESSIONLISTENER> <CREATED> <SESSIONID:" + loginId_ + ">");
 }
Пример #7
0
 public TRuntimeException(String code, String msg) {
   super("[" + code + "]" + msg);
   Log.info("[" + code + "]" + msg, this);
 }