Sun River
          Topics about Java SE, Servlet/JSP, JDBC, MultiThread, UML, Design Pattern, CSS, JavaScript, Maven, JBoss, Tomcat, ...
          posts - 78,comments - 0,trackbacks - 0
          <2006年9月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          文章檔案

          相冊

          收藏夾

          最新隨筆

          搜索

          •  

          積分與排名

          • 積分 - 27427
          • 排名 - 1462

          最新評論

          閱讀排行榜

          評論排行榜

          A?session bean can implement the SessionSynchronization interface if it wants to be notified about the state of any transaction in which it is involved. Only stateful session beans using container-managed transactions can implement SessionSynchronization. Its use is optional. The methods of SessionSynchronization are callbacks made by the container into the bean, and they mark points within the transaction. Here is the SessionSynchronization interface:
          public interface javax.ejb.SessionSynchronization
          {
              public abstract void afterBegin() throws RemoteException;
              public abstract void beforeCompletion() throws RemoteException;
              public abstract void afterCompletion(boolean completionStatus) throws 
                RemoteException;
          }
          
          posted on 2006-09-18 11:51 Sun River 閱讀(215) 評論(0)  編輯  收藏
          主站蜘蛛池模板: 富裕县| 大渡口区| 台南市| 金阳县| 玉屏| 永川市| 平阳县| 青龙| 上犹县| 南雄市| 宜章县| 类乌齐县| 沅陵县| 寿宁县| 诏安县| 温州市| 五河县| 清水河县| 遵化市| 华蓥市| 铅山县| 南靖县| 大化| 兴业县| 漳平市| 晋宁县| 龙泉市| 黔江区| 泰宁县| 江川县| 兴隆县| 宁国市| 清徐县| 明水县| 云阳县| 宣汉县| 元谋县| 沙坪坝区| 西畴县| 东源县| 阳山县|