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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xfireclientfactorybean.java

?? Xfire文件 用于開發(fā)web service 的一個(gè)開源工具 很好用的
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
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)    {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品资源二区在线| 国产校园另类小说区| 国产一区二区三区| 亚洲欧洲综合另类在线| 欧美不卡一二三| 欧美日韩在线观看一区二区 | 中文字幕免费一区| 欧美人牲a欧美精品| 成人小视频免费观看| 老色鬼精品视频在线观看播放| 亚洲欧洲无码一区二区三区| 精品裸体舞一区二区三区| 欧美性受极品xxxx喷水| 99精品视频在线观看免费| 国产一区二区三区四区五区美女| 五月婷婷激情综合| 亚洲蜜桃精久久久久久久| 国产亚洲精品久| 日韩免费一区二区| 欧美久久高跟鞋激| 欧美性一二三区| 91久久精品网| 在线欧美一区二区| 一本久久综合亚洲鲁鲁五月天| 国产精品一二三在| 国产精品一区久久久久| 免费成人美女在线观看.| 视频一区二区国产| 亚洲国产精品一区二区久久恐怖片 | 日本高清无吗v一区| www.久久久久久久久| 国产不卡视频在线观看| 国产精品综合二区| 国产剧情一区二区| 国产精品亚洲午夜一区二区三区| 精一区二区三区| 麻豆精品在线视频| 久久国产三级精品| 久久爱www久久做| 韩日av一区二区| 国产精品88av| 成人免费看的视频| 91亚洲精品久久久蜜桃网站| 波多野结衣的一区二区三区| 99久久婷婷国产综合精品电影| 97国产精品videossex| 色视频一区二区| 日本精品一级二级| 欧美无乱码久久久免费午夜一区 | 成人黄色片在线观看| 成人黄色一级视频| 91丨porny丨户外露出| 欧美午夜片在线看| 日韩三级电影网址| 国产日韩影视精品| 国产精品久久久久影院亚瑟| 亚洲婷婷在线视频| 一区二区三区 在线观看视频| 亚洲一区二区视频在线| 日韩不卡手机在线v区| 国内外精品视频| 国产白丝精品91爽爽久久| 91污在线观看| 欧美日韩精品专区| 欧美www视频| 国产精品妹子av| 一区二区高清视频在线观看| 男女男精品网站| 国产一区二区三区免费观看| 99精品在线免费| 91精品免费在线| 欧美国产精品中文字幕| 一区二区三区.www| 久草精品在线观看| eeuss鲁一区二区三区| 欧美日韩亚洲综合在线| 久久先锋影音av| 一区二区三区四区在线| 欧美aaaaaa午夜精品| 99视频精品在线| 91精品国产欧美一区二区| 国产区在线观看成人精品 | 亚洲1区2区3区4区| 国产在线精品一区二区三区不卡| 91视频一区二区| 欧美一二三区精品| 亚洲精品国产视频| 国产一区二区三区| 欧美日韩国产高清一区二区| 国产日韩亚洲欧美综合| 亚洲国产视频直播| 成人免费看的视频| 日韩精品一区二区三区中文不卡 | 久久午夜羞羞影院免费观看| 一区二区视频在线| 国产乱子伦视频一区二区三区 | 欧美久久久久久久久久 | 麻豆高清免费国产一区| 色综合久久久久综合99| 久久综合色播五月| 午夜精品福利在线| 色88888久久久久久影院野外| 久久精品无码一区二区三区| 日韩中文字幕1| 一本色道久久综合亚洲精品按摩| 久久久久久久精| 美女脱光内衣内裤视频久久网站| 色婷婷亚洲一区二区三区| 久久久久久亚洲综合影院红桃| 日韩va欧美va亚洲va久久| 欧美性猛交xxxx黑人交| 成人免费一区二区三区在线观看| 国产成人亚洲综合a∨婷婷| 欧美一级在线观看| 亚洲大尺度视频在线观看| 99视频一区二区三区| 中文字幕国产精品一区二区| 国产自产v一区二区三区c| 日韩精品一区二区在线| 日产欧产美韩系列久久99| 欧美图片一区二区三区| 亚洲精品第一国产综合野| 91丝袜美腿高跟国产极品老师| 亚洲国产精品成人综合| 国产不卡一区视频| 国产三级欧美三级| 国内精品第一页| 精品国产一区二区精华| 欧美a一区二区| 日韩欧美一二三区| 久久99热99| 久久综合成人精品亚洲另类欧美 | 欧美在线综合视频| 亚洲情趣在线观看| 色综合久久久久网| 一区二区三区产品免费精品久久75| 一本到高清视频免费精品| 亚洲欧美在线观看| 97精品国产露脸对白| 一区二区三区高清| 欧美日韩国产美女| 免费人成精品欧美精品| 日韩一区二区在线观看| 精一区二区三区| 久久精品亚洲一区二区三区浴池 | 91成人免费在线视频| 亚洲激情第一区| 欧美日韩精品一区二区三区| 日韩精品一二三| 欧美成人aa大片| 国产精品一卡二| 亚洲人成网站精品片在线观看| 欧美日韩三级在线| 美女一区二区视频| 国产亚洲一本大道中文在线| k8久久久一区二区三区 | 中文字幕制服丝袜一区二区三区| 99国产精品久久久| 亚洲最大色网站| 日韩一区二区三区精品视频| 国产精品一级片在线观看| 亚洲日本一区二区| 777久久久精品| 国产999精品久久久久久| 亚洲美女精品一区| 91麻豆精品国产91久久久资源速度 | 成人app软件下载大全免费| 一区二区三区精品视频在线| 91精品国产全国免费观看| 国产成人免费视频一区| 一区二区三区中文在线| 欧美r级电影在线观看| 成人福利视频网站| 婷婷久久综合九色综合绿巨人| 2020国产精品久久精品美国| 99re成人精品视频| 日韩电影在线一区二区| 国产精品卡一卡二| 91精品国产一区二区三区| 国产成人精品亚洲777人妖| 亚洲一区在线免费观看| 2023国产精品| 欧美日韩国产a| 粉嫩aⅴ一区二区三区四区五区| 亚洲一区二区四区蜜桃| 国产视频一区在线播放| 欧美少妇性性性| 国产91精品在线观看| 五月天精品一区二区三区| 欧美国产日本韩| 91精品国产综合久久婷婷香蕉 | 日韩二区在线观看| 日韩美女啊v在线免费观看| 日韩欧美的一区二区| 在线国产电影不卡| 国产91丝袜在线播放0| 日本不卡一区二区三区高清视频| 亚洲视频一二三| 久久精品亚洲一区二区三区浴池| 在线播放国产精品二区一二区四区|