亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? geronimotransactionmanager.java

?? Jencks是一個輕量級的JCA容器。它可以輕松部署到Spring中以提供消息驅動的POJOs.此外Jencks通過使用類似于JMS,JAX-RPC,JBI與JCA CCI的API來提供對inboun
?? JAVA
字號:
/** *  * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com *  * Licensed under the Apache License, Version 2.0 (the "License");  * you may not use this file except in compliance with the License.  * You may obtain a copy of the License at  *  * http://www.apache.org/licenses/LICENSE-2.0 *  * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  * See the License for the specific language governing permissions and  * limitations under the License.  *  **/package org.apache.geronimo.transaction.context;import javax.transaction.HeuristicMixedException;import javax.transaction.HeuristicRollbackException;import javax.transaction.InvalidTransactionException;import javax.transaction.NotSupportedException;import javax.transaction.RollbackException;import javax.transaction.SystemException;import javax.transaction.Transaction;import javax.transaction.TransactionManager;import javax.transaction.UserTransaction;import org.apache.geronimo.transaction.ExtendedTransactionManager;/** * The GeronimoTransactionManager is a wrapper around the TransactionContextManager * to offer both UserTransaction and TransactionManager interfaces. *  * @version $Revision: 1.1 $ * @author <a href="mailto:gnt@codehaus.org">Guillaume Nodet</a> */public class GeronimoTransactionManager implements UserTransaction, TransactionManager {	    TransactionContextManager transactionContextManager;        public GeronimoTransactionManager(TransactionContextManager transactionContextManager) {    	this.transactionContextManager = transactionContextManager;	}		public void begin() throws NotSupportedException, SystemException {		// Create a context if none has been set yet		if (transactionContextManager.getContext() == null) {			transactionContextManager.newUnspecifiedTransactionContext();		}        TransactionContext ctx = transactionContextManager.getContext();        if (ctx instanceof UnspecifiedTransactionContext == false) {            throw new NotSupportedException("Previous Transaction has not been committed");        }        UnspecifiedTransactionContext oldContext = (UnspecifiedTransactionContext) ctx;        GeronimoTransactionContext transactionContext = new GeronimoTransactionContext(        		this,        		(ExtendedTransactionManager) transactionContextManager.getTransactionManager(),         		oldContext);       	oldContext.suspend();        try {            transactionContext.begin(0);        } catch (SystemException e) {            oldContext.resume();            throw e;        } catch (NotSupportedException e) {            oldContext.resume();            throw e;        }        transactionContextManager.setContext(transactionContext);	}		public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException {        TransactionContext ctx = transactionContextManager.getContext();        if (ctx instanceof GeronimoTransactionContext == false) {            throw new IllegalStateException("Transaction has not been started");        }        GeronimoTransactionContext beanContext = (GeronimoTransactionContext) ctx;        try {            if (!beanContext.commit()) {                throw new RollbackException();            }        } finally {            transactionContextManager.setContext(null);        }	}		public int getStatus() throws SystemException {		return transactionContextManager.getStatus();	}		public void rollback() throws IllegalStateException, SecurityException, SystemException {        TransactionContext ctx = transactionContextManager.getContext();        if (ctx instanceof GeronimoTransactionContext == false) {            throw new IllegalStateException("Transaction has not been started");        }        GeronimoTransactionContext beanContext = (GeronimoTransactionContext) ctx;        try {            beanContext.rollback();        } finally {            transactionContextManager.setContext(null);        }	}		public void setRollbackOnly() throws IllegalStateException, SystemException {        transactionContextManager.setRollbackOnly();	}		public void setTransactionTimeout(int seconds) throws SystemException {        if (seconds < 0) {            throw new SystemException("transaction timeout must be positive or 0, not " + seconds);        }        transactionContextManager.setTransactionTimeout(seconds);	}		public Transaction getTransaction() throws SystemException {		return ((GeronimoTransactionContext) transactionContextManager.getContext()).getTransactionDelegate();	}	public void resume(Transaction tx) throws IllegalStateException, InvalidTransactionException, SystemException {		if (tx instanceof GeronimoTransactionDelegate == false) {			throw new InvalidTransactionException("invalid transaction specified");		}		TransactionContext ctx = ((GeronimoTransactionDelegate) tx).getContext(); 		transactionContextManager.resumeBeanTransactionContext(ctx);	}	public Transaction suspend() throws SystemException {		return ((GeronimoTransactionContext) transactionContextManager.suspendBeanTransactionContext()).getTransactionDelegate();	}	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产首页| 亚洲国产一区在线观看| 欧美日韩视频一区二区| 北条麻妃国产九九精品视频| 久久电影网站中文字幕| 日本aⅴ免费视频一区二区三区| 一区二区高清在线| 亚洲第四色夜色| 三级不卡在线观看| 精东粉嫩av免费一区二区三区| 精品影视av免费| 国产91综合网| 日本高清无吗v一区| 欧美日韩在线播放三区四区| 777色狠狠一区二区三区| 日韩一区二区三区四区| 欧美一区二区三区在线观看视频 | av成人动漫在线观看| 国产精华液一区二区三区| 国产91精品免费| 在线日韩av片| 日韩欧美一级片| 中文字幕第一页久久| 亚洲免费观看高清完整版在线| 亚洲国产日韩综合久久精品| 蜜臀av性久久久久av蜜臀妖精 | zzijzzij亚洲日本少妇熟睡| 色婷婷综合久久久中文一区二区 | 91精品国产美女浴室洗澡无遮挡| 久久一夜天堂av一区二区三区| 国产欧美精品国产国产专区| 一区二区在线观看免费| 美美哒免费高清在线观看视频一区二区 | 国产乱人伦偷精品视频不卡| 波多野结衣亚洲一区| 欧美久久一二区| 国产精品人成在线观看免费| 首页欧美精品中文字幕| 国产成人亚洲综合a∨猫咪| 欧美日韩久久久一区| 国产午夜精品一区二区| 亚洲sss视频在线视频| 成人午夜视频在线观看| 日韩视频在线你懂得| 亚洲天堂网中文字| 国产精品亚洲一区二区三区妖精 | 精品国产成人系列| 一区二区高清视频在线观看| 风流少妇一区二区| 7777精品伊人久久久大香线蕉| 国产精品毛片无遮挡高清| 日本三级韩国三级欧美三级| 色婷婷亚洲婷婷| 国产精品伦理一区二区| 精品一区二区三区在线播放 | 国产91精品在线观看| 日韩欧美亚洲一区二区| 亚洲18色成人| 欧美午夜在线观看| 亚洲三级久久久| av不卡在线播放| 中文字幕第一区第二区| 九九精品视频在线看| 欧美一级片在线| 视频在线观看一区| 欧美日韩不卡在线| 亚洲国产日韩av| 欧美日韩亚洲综合一区| 亚洲一区二区三区四区在线免费观看| 国产激情视频一区二区在线观看| 日韩精品在线一区二区| 日韩在线观看一区二区| 666欧美在线视频| 日韩精品三区四区| 欧美一区二区视频在线观看| 日韩av一区二区在线影视| 欧美卡1卡2卡| 蜜臀国产一区二区三区在线播放| 欧美老年两性高潮| 美女视频黄 久久| 精品国产免费一区二区三区香蕉| 久久99蜜桃精品| 久久精品一级爱片| 成人国产在线观看| 亚洲激情在线播放| 欧美精品国产精品| 久久成人久久爱| 国产日韩精品一区| 91日韩一区二区三区| 亚洲综合精品自拍| 日韩一区二区视频| 福利电影一区二区| 亚洲精品老司机| 欧美一区二区私人影院日本| 国产精品一区二区三区乱码| 国产精品污网站| 欧美三级资源在线| 韩国欧美国产一区| 亚洲精品乱码久久久久| 91精品欧美一区二区三区综合在 | 欧美日韩成人在线| 激情伊人五月天久久综合| 中日韩av电影| 欧美精品v国产精品v日韩精品| 国内久久婷婷综合| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 欧美午夜影院一区| 国产suv精品一区二区6| 亚洲成人自拍网| 国产精品视频看| 日韩一级欧美一级| 日本乱码高清不卡字幕| 精品一区二区综合| 亚洲一区欧美一区| 欧美国产1区2区| 日韩一卡二卡三卡四卡| 色婷婷av一区二区三区之一色屋| 久久精品国产一区二区| 日韩理论在线观看| 久久色视频免费观看| 欧美女孩性生活视频| 国产成人无遮挡在线视频| 日韩av电影天堂| 一区二区三区免费网站| 国产丝袜美腿一区二区三区| 91麻豆精品国产自产在线 | 欧美变态tickling挠脚心| 91在线无精精品入口| 国产精品系列在线观看| 久久精品国产一区二区三 | 国产色婷婷亚洲99精品小说| 欧美日韩一二三| 日本乱人伦aⅴ精品| aaa国产一区| 国产成人在线视频网址| 久久99精品国产麻豆不卡| 午夜私人影院久久久久| 中文字幕五月欧美| 国产精品视频免费看| 久久精品免视看| 精品国产亚洲在线| 日韩精品一区二区三区老鸭窝| 欧美日韩在线精品一区二区三区激情| a美女胸又www黄视频久久| 成人小视频免费在线观看| 国产一区二区调教| 国产另类ts人妖一区二区| 韩国欧美国产1区| 国产资源精品在线观看| 精品一区二区免费在线观看| 久久精品国产精品亚洲红杏| 青青国产91久久久久久| 日韩精品五月天| 久久精品国产一区二区三区免费看| 麻豆国产91在线播放| 久久精品99国产精品| 国产一区二区伦理| 国产成人鲁色资源国产91色综| 福利电影一区二区| 91美女精品福利| 欧美羞羞免费网站| 欧美一级专区免费大片| 欧美va亚洲va香蕉在线| 国产欧美精品国产国产专区| 亚洲天堂福利av| 亚洲va中文字幕| 精品一区二区三区在线播放视频| 国产一区二区三区久久久| 国产a久久麻豆| 日本乱人伦一区| 日韩一区二区免费视频| 国产欧美视频在线观看| 亚洲免费色视频| 免费在线看成人av| 丁香网亚洲国际| 欧美图片一区二区三区| 欧美大黄免费观看| 亚洲欧洲无码一区二区三区| 夜夜嗨av一区二区三区四季av| 免费成人在线网站| 成人综合在线网站| 欧美在线观看视频一区二区 | 一区二区激情视频| 激情久久五月天| 色一情一乱一乱一91av| 欧美一卡2卡3卡4卡| ...中文天堂在线一区| 日韩电影免费一区| 粉嫩久久99精品久久久久久夜| 欧美性猛片aaaaaaa做受| 久久久久久97三级| 亚洲成av人影院| 成人app软件下载大全免费| 欧美日韩国产bt| 综合婷婷亚洲小说| 国产精品一卡二卡| 日韩一卡二卡三卡四卡| 亚洲影院理伦片| 成人自拍视频在线观看| 日韩女优电影在线观看|