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)  編輯  收藏
          主站蜘蛛池模板: 扶沟县| 平舆县| 三亚市| 大安市| 临安市| 昌乐县| 成安县| 乐东| 安化县| 徐闻县| 北川| 崇明县| 云梦县| 金山区| 万载县| 钟祥市| 芦山县| 松潘县| 云南省| 鄂伦春自治旗| 中阳县| 万全县| 晋江市| 滨海县| 称多县| 通渭县| 盐亭县| 武穴市| 杭锦旗| 城步| 南川市| 黑龙江省| 阳西县| 白银市| 手游| 分宜县| 冷水江市| 新乡县| 浮山县| 沭阳县| 江都市|