/** session失效时调用 */ public void valueUnbound(HttpSessionBindingEvent event) { if (dsSaleOrderProduct != null) { dsSaleOrderProduct.close(); dsSaleOrderProduct = null; } log = null; }
/** jvm要调的函数,类似于析构函数 */ public void valueUnbound(HttpSessionBindingEvent event) { if (dsxs_khcpzkTable != null) { dsxs_khcpzkTable.close(); dsxs_khcpzkTable = null; } log = null; rowInfo = null; locateRow = null; }
/** Session失效时,调用的函数 */ public final void valueUnbound(HttpSessionBindingEvent event) { if (dsMasterTable != null) { dsMasterTable.close(); dsMasterTable = null; } if (dsDetailTable != null) { dsDetailTable.close(); dsDetailTable = null; } log = null; m_RowInfo = null; d_RowInfos = null; if (masterProducer != null) { masterProducer.release(); masterProducer = null; } if (detailProducer != null) { detailProducer.release(); detailProducer = null; } deleteObservers(); }
/** jvm要调的函数,类似于析构函数 */ public void valueUnbound(HttpSessionBindingEvent event) { if (dsXsTable != null) { dsXsTable.close(); dsXsTable = null; } if (dsJsTable != null) { dsJsTable.close(); dsJsTable = null; } if (dsThTable != null) { dsThTable.close(); dsThTable = null; } if (dsQtTable != null) { dsQtTable.close(); dsQtTable = null; } d_XsInfos = null; // 多行记录的引用 d_JsInfos = null; d_ThInfos = null; d_QtInfos = null; log = null; }