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

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

?? xfireclientfactorybean.java

?? Xfire文件 用于開發web service 的一個開源工具 很好用的
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
package org.codehaus.xfire.spring.remoting;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;import java.net.MalformedURLException;import java.net.URI;import java.util.Collection;import java.util.Iterator;import java.util.List;import java.util.Map;import javax.wsdl.Definition;import javax.wsdl.factory.WSDLFactory;import javax.xml.namespace.QName;import org.aopalliance.intercept.MethodInterceptor;import org.aopalliance.intercept.MethodInvocation;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.codehaus.xfire.XFireRuntimeException;import org.codehaus.xfire.client.Client;import org.codehaus.xfire.client.XFireProxyFactory;import org.codehaus.xfire.service.Endpoint;import org.codehaus.xfire.service.Service;import org.codehaus.xfire.service.ServiceFactory;import org.codehaus.xfire.service.binding.ObjectServiceFactory;import org.codehaus.xfire.soap.AbstractSoapBinding;import org.codehaus.xfire.spring.SpringUtils;import org.codehaus.xfire.transport.Channel;import org.codehaus.xfire.util.Resolver;import org.springframework.aop.framework.ProxyFactory;import org.springframework.aop.support.AopUtils;import org.springframework.beans.factory.FactoryBean;import org.springframework.beans.factory.InitializingBean;/** * Factory bean to easily create XFire clients via Spring, if the service's Java * interface is available. Naming of properties is done to be the same as * {@link org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean}.  * <br> * The only mandatory properties to set before using this factory are: * {@link #setServiceClass(Class)} and {@link #setWsdlDocumentUrl(String)}. * <br> * By default this factory bean creates a service endpoint using an instance of  * {@link org.codehaus.xfire.service.binding.ObjectServiceFactory}. Another one can * be configured using {@link #setServiceFactory(ServiceFactory)} * <br> * serviceName and namespaceUri can be derived from the content of the WSDL document  * (if the document only contains one service), but unfortunately that does not (yet)  * work if username/password needs to be supplied to get at the WSDL. *  * @author Fried Hoeben */public class XFireClientFactoryBean    implements FactoryBean, InitializingBean{    private static final Log LOG = LogFactory.getLog(XFireClientFactoryBean.class);    // client proxy, in case lookupServiceOnStartup == true    // proxy to the client proxy, otherwise    private Object _serviceProxy;    private Class _serviceClass;    private ServiceFactory _serviceFactory = new ObjectServiceFactory();    private String _wsdlDocumentUrl;    private String _serviceName;    private String _namespaceUri;    private String _username;    private String _password;    private String _url;        private QName _endpointName;        private Map _properties;        private boolean _lookupServiceOnStartup = true;        private List outHandlers = null;    private List inHandlers = null;    private List faultHandlers = null;        public Object getObject()        throws Exception    {        return _serviceProxy;    }    public Class getObjectType()    {        return (_serviceProxy != null) ? _serviceProxy.getClass() : getServiceClass();    }    public boolean isSingleton()    {        return true;    }    public void afterPropertiesSet()        throws Exception    {        if (getServiceClass() == null)        {            throw new IllegalStateException("serviceInterface is required");        }                ProxyInterceptor interceptor;        if (getLookupServiceOnStartup())        {            // create XFire client proxy directly            _serviceProxy = createClient();        }        else        {            // create proxy for XFire client proxy, this will create the XFire            // client proxy            // when it is first called            interceptor = new ProxyInterceptor();            _serviceProxy = ProxyFactory.getProxy(getServiceClass(), interceptor);        }    }    /**     * @return the service factory that this factory will use     */    public ServiceFactory getServiceFactory()    {        return _serviceFactory;    }    /**     * Sets the service factory that will be used to create a client. If this method is never     * called an instance of {@link org.codehaus.xfire.service.binding.ObjectServiceFactory} will     * be used.     *      * @param factory     *            service factory this factory should use to create a client     */    public void setServiceFactory(ServiceFactory factory)    {        if (factory == null)        {            throw new IllegalArgumentException("Can not set the service factory to null");        }        _serviceFactory = factory;    }    /**     * @return Returns the service's interface.     */    public Class getServiceClass()    {        return _serviceClass;    }    /**     * @param serviceClass     *            The interface implemented by the service called via the proxy.     */    public void setServiceInterface(Class serviceClass)    {        _serviceClass = serviceClass;    }    /**     * @return Returns the service's interface.     */    public Class getServiceInterface()    {        return _serviceClass;    }    /**     * @param serviceClass     *            The interface implemented by the service called via the proxy.     */    public void setServiceClass(Class serviceClass)    {        _serviceClass = serviceClass;    }        /**     * @return Returns the URL where the WSDL to this service can be found.     */    public String getWsdlDocumentUrl()    {        return _wsdlDocumentUrl;    }    /**     * @param wsdlUrl     *            The URL where the WSDL to this service can be found.     */    public void setWsdlDocumentUrl(String wsdlUrl)    {        _wsdlDocumentUrl = wsdlUrl.trim();    }    /**     * Gets the name of the service. If <code>null</code> the name will be     * looked up from the WSDL, or generated from the interface name by XFire.     *      * @return Returns the serviceName.     */    public String getServiceName()    {        return _serviceName;    }    /**     * Sets the name of the service to access. If left <code>null</code> the     * name will be looked up from the WSDL, or generated from the interface     * name by XFire.     *      * @param serviceName     *            The service name to set.     */    public void setServiceName(String serviceName)    {        _serviceName = serviceName;    }    /**     * Gets the default namespace for the service. If <code>null</code> the     * namespace will be looked up from the WSDL, or generated from the     * interface package by XFire.     *      * @return Returns the namespace for the service.     */    public String getNamespaceUri()    {        return _namespaceUri;    }    /**     * Sets the default namespace for the service. If left <code>null</code>     * the namespace will be looked up from the WSDL, or generated from the     * interface package by XFire.     *      * @param namespace     *            The namespace to set.     */    public void setNamespaceUri(String namespace)    {        _namespaceUri = namespace;    }    /**     * Gets whether to look up the XFire service on startup.     *      * @return whether to look up the service on startup.     */    public boolean getLookupServiceOnStartup()    {        return _lookupServiceOnStartup;    }    /**     * Sets whether to look up the XFire service on startup. Default is     * <code>true</code>.     * <p>     * Can be set to <code>false</code> to allow for late start of the target     * server. In this case, the XFire service client proxy will be created on     * first access. This does add some overhead (on each call) since     * synchronization is used to ensure only one client proxy is ever created,     * furthermore errors in the WSDL document URL are not detected until the     * first call.     *      * @param lookupServiceOnStartup     *            whether to look up the service on startup.     */    public void setLookupServiceOnStartup(boolean lookupServiceOnStartup)    {        _lookupServiceOnStartup = lookupServiceOnStartup;    }    /**     * Gets the username for HTTP basic authentication.     *      * @return Returns the username to send.     */    public String getUsername()    {        return _username;    }    /**     * Sets the username for HTTP basic authentication.     *      * @param username     *            The username to set.     */    public void setUsername(String username)    {        _username = username;    }    /**     * Gets the password for HTTP basic authentication.     *      * @return Returns the password to send.     */    public String getPassword()    {        return _password;    }    /**     * Sets the password for HTTP basic authentication.     *      * @param password     *            The password to set.     */    public void setPassword(String password)    {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产91久久久| 欧美影院精品一区| 精品无人区卡一卡二卡三乱码免费卡 | 欧美在线不卡视频| 色婷婷久久一区二区三区麻豆| 色综合久久六月婷婷中文字幕| 成年人午夜久久久| 91久久国产综合久久| 欧美综合天天夜夜久久| 欧美日韩免费观看一区三区| 欧美日韩一本到| 欧美xxxxx牲另类人与| 26uuu国产在线精品一区二区| 26uuu亚洲婷婷狠狠天堂| 2020国产精品| 一区二区中文字幕在线| 亚洲高清视频在线| 经典三级一区二区| 成人黄页在线观看| 欧美性色黄大片| 欧美白人最猛性xxxxx69交| 国产亚洲短视频| 亚洲丝袜精品丝袜在线| 日韩av在线播放中文字幕| 久久电影网电视剧免费观看| 成人亚洲一区二区一| 欧美亚洲综合一区| wwwwxxxxx欧美| 一区二区三区欧美亚洲| 免费人成在线不卡| 成人h动漫精品一区二| 欧美日本一区二区三区四区| 久久久无码精品亚洲日韩按摩| 国产精品久久久爽爽爽麻豆色哟哟 | 中文字幕五月欧美| 日韩影院免费视频| 不卡一区在线观看| 51精品久久久久久久蜜臀| 国产精品狼人久久影院观看方式| 亚洲成a人片在线不卡一二三区 | 奇米影视7777精品一区二区| 成人综合日日夜夜| 日韩欧美视频在线| 一区二区三区精品在线观看| 国产一区二区三区黄视频 | 久久日一线二线三线suv| 亚洲欧美日韩国产另类专区| 国产精品性做久久久久久| 欧美美女直播网站| 亚洲欧美综合色| 国产综合久久久久影院| 欧美一区二区视频在线观看| 国产精品久久久久影院亚瑟| 精品一区二区三区免费| 欧美日韩极品在线观看一区| 中文字幕一区二区三| 国产精品一区不卡| 欧美精品一区二区三区蜜桃视频 | 欧美电影免费观看高清完整版在线观看| 国产精品色一区二区三区| 蜜桃视频在线观看一区| 欧美日韩视频在线一区二区| 亚洲视频一区在线| 成人激情校园春色| 中文在线一区二区| 日韩电影在线一区二区| 色哟哟精品一区| 中文字幕不卡在线播放| 懂色av中文字幕一区二区三区| 日韩欧美中文一区二区| 婷婷久久综合九色国产成人 | 日韩精品视频网站| 欧美三级电影一区| 亚洲自拍另类综合| 欧洲另类一二三四区| 亚洲资源在线观看| 欧美日韩在线播放| 日韩影视精彩在线| 精品美女在线观看| 国产河南妇女毛片精品久久久| 精品国产免费一区二区三区四区| 久久黄色级2电影| 国产亚洲欧洲一区高清在线观看| 国产在线视频一区二区三区| 国产视频一区在线观看 | 亚洲一区二区三区激情| 欧美影视一区在线| 奇米色777欧美一区二区| 久久综合九色欧美综合狠狠| 国产精品性做久久久久久| 最新国产成人在线观看| 欧美在线观看视频在线| 另类调教123区| 亚洲国产成人在线| 一本一本大道香蕉久在线精品| 亚洲国产欧美另类丝袜| 欧美猛男男办公室激情| 国内外精品视频| 亚洲精品写真福利| 日韩西西人体444www| 成人免费视频一区二区| 亚洲成人久久影院| 久久中文字幕电影| 色网综合在线观看| 久久99精品久久久久久| 亚洲欧美另类久久久精品2019| 91精品国产91热久久久做人人| 国产精品夜夜嗨| 亚洲综合一区二区三区| 精品国产青草久久久久福利| 色拍拍在线精品视频8848| 精品亚洲成a人在线观看| 亚洲视频在线观看一区| 精品剧情在线观看| 91黄色免费观看| 国产一区亚洲一区| 亚洲成av人在线观看| 国产精品狼人久久影院观看方式| 欧美高清视频一二三区| 成人黄页在线观看| 久久99国产精品尤物| 亚洲成人综合在线| 亚洲同性gay激情无套| 欧美一级高清大全免费观看| 91激情在线视频| 成人免费毛片高清视频| 六月婷婷色综合| 亚洲成a人片在线观看中文| 国产精品福利av| 久久午夜国产精品| 日韩天堂在线观看| 欧美色老头old∨ideo| 色综合久久久久综合体| 丁香婷婷综合激情五月色| 激情伊人五月天久久综合| 美女尤物国产一区| 日韩中文字幕1| 亚洲成在人线在线播放| 亚洲欧美偷拍三级| 中文字幕一区二区不卡| 国产精品毛片无遮挡高清| 欧美成人激情免费网| 欧美二区三区的天堂| 欧美日韩三级在线| 欧美视频在线一区| 欧美性做爰猛烈叫床潮| 欧洲精品一区二区三区在线观看| 成人av免费观看| caoporen国产精品视频| 99久久国产综合精品女不卡| 成人av片在线观看| 91在线云播放| 色www精品视频在线观看| 在线观看日韩av先锋影音电影院| 91久久精品日日躁夜夜躁欧美| 色婷婷综合激情| 欧美日韩一区二区三区高清 | 99久精品国产| av中文字幕在线不卡| 91视频免费看| 欧美在线不卡视频| 91麻豆精品国产91久久久更新时间| 欧美另类videos死尸| 欧美日韩国产高清一区二区三区 | 日韩黄色免费网站| 美美哒免费高清在线观看视频一区二区 | 九九九久久久精品| 国产精品亚洲视频| 91视频在线看| 欧美乱熟臀69xxxxxx| 日韩欧美一区中文| 国产亚洲精品福利| 亚洲同性gay激情无套| 亚洲成人av中文| 久久国产精品露脸对白| 成人免费高清在线| 欧美专区日韩专区| 日韩欧美国产综合| 国产精品成人免费精品自在线观看| 亚洲乱码日产精品bd| 污片在线观看一区二区| 国产一区二区调教| 色婷婷综合久久久久中文一区二区 | 日本成人在线网站| 国产激情精品久久久第一区二区| 91免费版在线看| 日韩欧美久久久| 亚洲欧美在线视频| 日本在线不卡一区| av网站免费线看精品| 欧美一区二区三区日韩| 国产精品乱码久久久久久| 性做久久久久久久久| 丁香桃色午夜亚洲一区二区三区| 欧美日韩精品专区| 中文字幕日韩欧美一区二区三区| 免费一级欧美片在线观看| 91免费版pro下载短视频| 亚洲精品在线一区二区| 亚洲www啪成人一区二区麻豆|