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

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

?? simpleremotestatelesssessionproxyfactorybean.java

?? spring framework 2.5.4源代碼
?? JAVA
字號:
/*
 * Copyright 2002-2007 the original author or authors.
 *
 * 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.springframework.ejb.access;

import javax.naming.NamingException;

import org.springframework.aop.framework.ProxyFactory;
import org.springframework.beans.factory.BeanClassLoaderAware;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.util.ClassUtils;

/**
 * Convenient factory for remote SLSB proxies.
 * Designed for EJB 2.x, but works for EJB 3 Session Beans as well.
 *
 * <p>See {@link org.springframework.jndi.JndiObjectLocator} for info on
 * how to specify the JNDI location of the target EJB.
 * 
 * <p>If you want control over interceptor chaining, use an AOP ProxyFactoryBean
 * with SimpleRemoteSlsbInvokerInterceptor rather than rely on this class.
 *
 * <p>In a bean container, this class is normally best used as a singleton. However,
 * if that bean container pre-instantiates singletons (as do the XML ApplicationContext
 * variants) you may have a problem if the bean container is loaded before the EJB
 * container loads the target EJB. That is because by default the JNDI lookup will be
 * performed in the init method of this class and cached, but the EJB will not have been
 * bound at the target location yet. The best solution is to set the lookupHomeOnStartup
 * property to false, in which case the home will be fetched on first access to the EJB.
 * (This flag is only true by default for backwards compatibility reasons).
 * 
 * <p>This proxy factory is typically used with an RMI business interface, which serves
 * as super-interface of the EJB component interface. Alternatively, this factory
 * can also proxy a remote SLSB with a matching non-RMI business interface, i.e. an
 * interface that mirrors the EJB business methods but does not declare RemoteExceptions.
 * In the latter case, RemoteExceptions thrown by the EJB stub will automatically get
 * converted to Spring's unchecked RemoteAccessException.
 *
 * @author Rod Johnson
 * @author Colin Sampaleanu
 * @author Juergen Hoeller
 * @since 09.05.2003
 * @see org.springframework.remoting.RemoteAccessException
 * @see AbstractSlsbInvokerInterceptor#setLookupHomeOnStartup
 * @see AbstractSlsbInvokerInterceptor#setCacheHome
 * @see AbstractRemoteSlsbInvokerInterceptor#setRefreshHomeOnConnectFailure
 */
public class SimpleRemoteStatelessSessionProxyFactoryBean extends SimpleRemoteSlsbInvokerInterceptor
    implements FactoryBean, BeanClassLoaderAware {

	/** The business interface of the EJB we're proxying */
	private Class businessInterface;

	private ClassLoader beanClassLoader = ClassUtils.getDefaultClassLoader();

	/** EJBObject */
	private Object proxy;


	/**
	 * Set the business interface of the EJB we're proxying.
	 * This will normally be a super-interface of the EJB remote component interface.
	 * Using a business methods interface is a best practice when implementing EJBs.
	 * <p>You can also specify a matching non-RMI business interface, i.e. an interface
	 * that mirrors the EJB business methods but does not declare RemoteExceptions.
	 * In this case, RemoteExceptions thrown by the EJB stub will automatically get
	 * converted to Spring's generic RemoteAccessException.
	 * @param businessInterface the business interface of the EJB
	 */
	public void setBusinessInterface(Class businessInterface) {
		this.businessInterface = businessInterface;
	}

	/**
	 * Return the business interface of the EJB we're proxying.
	 */
	public Class getBusinessInterface() {
		return this.businessInterface;
	}

	public void setBeanClassLoader(ClassLoader classLoader) {
		this.beanClassLoader = classLoader;
	}

	public void afterPropertiesSet() throws NamingException {
		super.afterPropertiesSet();
		if (this.businessInterface == null) {
			throw new IllegalArgumentException("businessInterface is required");
		}
		this.proxy = new ProxyFactory(this.businessInterface, this).getProxy(this.beanClassLoader);
	}


	public Object getObject() {
		return this.proxy;
	}

	public Class getObjectType() {
		return this.businessInterface;
	}

	public boolean isSingleton() {
		return true;
	}

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人av一区| 欧美一区二区三区视频免费| 亚洲成人精品一区二区| 久久一日本道色综合| 色女孩综合影院| 国产一区二区在线免费观看| 亚洲色图制服诱惑| 久久日一线二线三线suv| 日本道精品一区二区三区 | 久久精品国产亚洲aⅴ | 青青草原综合久久大伊人精品 | 777奇米四色成人影色区| 成人永久免费视频| 精品亚洲国产成人av制服丝袜| 亚洲精品免费播放| 日本一区二区在线不卡| 欧美大尺度电影在线| 欧美日韩你懂得| 一本大道久久a久久综合| 国产成人高清视频| 国产在线播放一区二区三区| 日韩黄色在线观看| 一区二区三区久久久| 国产精品久久影院| 国产婷婷色一区二区三区| 91精品国产麻豆| 欧美精品vⅰdeose4hd| 一本大道久久a久久综合| 波多野洁衣一区| 国产suv精品一区二区三区| 麻豆久久一区二区| 日本不卡一区二区三区 | 亚洲观看高清完整版在线观看| 亚洲成人综合视频| 一区二区三区四区不卡视频| 欧美激情艳妇裸体舞| www成人在线观看| 精品国产乱码久久久久久久| 欧美一区二区三区四区视频| 欧美乱妇一区二区三区不卡视频| 欧美亚洲另类激情小说| 一本到一区二区三区| 色乱码一区二区三区88| 91免费版在线| 日本乱人伦一区| 91精品福利在线| 欧美人动与zoxxxx乱| 欧美日本一道本| 欧美一区二区三区视频免费播放| 欧美一级久久久久久久大片| 欧美一区二区三区性视频| 欧美一区二区美女| 欧美成人官网二区| 久久久777精品电影网影网 | 精品欧美一区二区久久| 欧美草草影院在线视频| 久久看人人爽人人| 国产精品成人网| 亚洲一区二区美女| 日本不卡123| 国产一区二区网址| 成人影视亚洲图片在线| 色悠悠久久综合| 在线不卡一区二区| 久久一二三国产| 国产精品家庭影院| 亚洲一区二区偷拍精品| 日本va欧美va精品| 国产一区二区毛片| 色久优优欧美色久优优| 6080日韩午夜伦伦午夜伦| 精品国产一区二区三区久久影院 | 亚洲成人自拍网| 久久国产精品第一页| 高清成人在线观看| 在线视频你懂得一区| 日韩丝袜美女视频| 亚洲色图一区二区| 麻豆精品精品国产自在97香蕉| 懂色av一区二区三区免费观看| 色拍拍在线精品视频8848| 91精品国产一区二区三区香蕉| 久久久噜噜噜久久人人看| 亚洲黄色小视频| 久久国产日韩欧美精品| 91热门视频在线观看| 欧美电影免费观看高清完整版在| 中文字幕欧美一| 日本不卡高清视频| 成人深夜视频在线观看| 777色狠狠一区二区三区| 欧美国产日产图区| 蜜臀av一区二区在线免费观看| 99久久伊人网影院| 欧美xxx久久| 亚洲福利电影网| 亚洲主播在线播放| 亚洲国产精品精华液网站| 激情偷乱视频一区二区三区| 色老汉av一区二区三区| 久久久久久久久97黄色工厂| 亚洲第一福利一区| 不卡在线视频中文字幕| 日韩一级片网站| 91精品国产色综合久久| 国产精品久久久久久久久图文区| 亚洲乱码中文字幕综合| 久久99精品网久久| 欧美综合色免费| 91精品欧美一区二区三区综合在| 中文字幕第一区综合| 日韩精品91亚洲二区在线观看| 不卡免费追剧大全电视剧网站| 精品成人一区二区| 亚洲成人激情综合网| bt7086福利一区国产| 日韩欧美国产综合一区| 国产精品久久99| 粉嫩aⅴ一区二区三区四区五区| 欧美日韩成人高清| 日韩毛片一二三区| 国产精品亚洲成人| 日韩欧美一区二区视频| 日韩精品五月天| 一本大道久久a久久精品综合| 久久久精品免费观看| 另类中文字幕网| 欧美猛男gaygay网站| 性欧美疯狂xxxxbbbb| 91在线视频18| 国产精品女主播av| 国产成人免费高清| 欧美不卡一区二区三区四区| 人人爽香蕉精品| 欧美少妇xxx| 亚洲图片欧美综合| 91小视频在线| 国产精品乱码人人做人人爱| 成人激情免费视频| 国产色91在线| 久久99精品国产.久久久久久| 欧美久久婷婷综合色| 亚洲欧美日韩国产中文在线| 91视频观看视频| 国产精品久久久久久久久免费樱桃| 国产经典欧美精品| 久久影院午夜论| 麻豆精品蜜桃视频网站| 久久久亚洲精品一区二区三区 | 91精品国产91久久久久久最新毛片 | 捆绑调教美女网站视频一区| 在线综合+亚洲+欧美中文字幕| 亚洲电影中文字幕在线观看| 91精彩视频在线| 亚洲一卡二卡三卡四卡 | 精品制服美女丁香| 精品福利一区二区三区| 国产一区二区三区久久久| 欧美α欧美αv大片| 国模一区二区三区白浆 | 国产精品久久久久一区| 成人精品视频一区二区三区| 国产精品系列在线| 99视频在线观看一区三区| 亚洲成人动漫av| 日韩欧美高清一区| av在线不卡免费看| 一区二区三区四区国产精品| 欧美精品123区| 免费成人美女在线观看| 久久女同精品一区二区| 精品综合免费视频观看| 中文字幕中文在线不卡住| 91亚洲精品乱码久久久久久蜜桃| 国产精品国产三级国产有无不卡| www.欧美亚洲| 亚洲欧洲精品一区二区精品久久久| 91成人看片片| 日韩电影免费在线| 久久免费视频一区| 菠萝蜜视频在线观看一区| 亚洲女同女同女同女同女同69| 欧美一区二区三区日韩| 国产成人h网站| 亚洲国产cao| 久久亚洲二区三区| 在线影院国内精品| 精品一区二区三区蜜桃| 亚洲天堂a在线| 欧美一区日韩一区| 99热这里都是精品| 免费人成黄页网站在线一区二区| 久久久精品日韩欧美| 在线精品国精品国产尤物884a| 另类成人小视频在线| 亚洲综合久久久久| 国产天堂亚洲国产碰碰| 欧美系列在线观看| 国内精品嫩模私拍在线| 亚洲国产日韩在线一区模特|