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

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

?? xfireclientfactorybean.java

?? Xfire文件 用于開發web service 的一個開源工具 很好用的
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
        _password = password;    }        /**     * The properties that will be set on the Client.     */    public Map getProperties()    {        return _properties;    }    /**     * Set the properties for the Client.     */    public void setProperties(Map properties)    {        this._properties = properties;    }    public QName getEndpoint()    {        return _endpointName;    }    /**     * Set the name of the Endpoint/Port in the WSDL to use with the Client.     *      * @param name     */    public void setEndpoint(QName name)    {        _endpointName = name;    }    public String getUrl()    {        return _url;    }    /**     * Set the URL the Client is to invoke. If this is not supplied, the one from the     * WSDL will be used instead.     * @return     */    public void setUrl(String _url)    {        this._url = _url;    }    public List getFaultHandlers()    {        return faultHandlers;    }    public void setFaultHandlers(List faultHandlers)    {        this.faultHandlers = faultHandlers;    }    public List getInHandlers()    {        return inHandlers;    }    public void setInHandlers(List inHandlers)    {        this.inHandlers = inHandlers;    }    public List getOutHandlers()    {        return outHandlers;    }    public void setOutHandlers(List outHandlers)    {        this.outHandlers = outHandlers;    }    /**     * Creates actual XFire client proxy that this interceptor will delegate to.     *      * @throws Exception     *             if the client proxy could not be created.     */    private Object createClient()        throws Exception    {        Object serviceClient = makeClient();        Class interf = getServiceInterface();        if (LOG.isDebugEnabled())        {            LOG.debug("Created: " + toString());        }        Client client = Client.getInstance(serviceClient);                String username = getUsername();        if (username != null)        {            client.setProperty(Channel.USERNAME, username);            String password = getPassword();            client.setProperty(Channel.PASSWORD, password);            if (LOG.isDebugEnabled())            {                LOG.debug("Enabled HTTP basic authentication for: " + interf + " with username: "                        + username);            }        }                configureClientHandlers(client);                return serviceClient;    }        /**     * Configures the client with the specified inHandlers, outHandlers and     * faultHandlers.     *      * @param client     */    private void configureClientHandlers(Client client)    {        if (this.inHandlers != null)        {            client.getInHandlers().addAll(inHandlers);        }        if (this.outHandlers != null)        {            client.getOutHandlers().addAll(outHandlers);        }        if (this.faultHandlers != null)        {            client.getFaultHandlers().addAll(faultHandlers);        }    }        /**     * Performs actual creation of XFire client proxy.     *      * @return XFire proxy to the service     * @throws java.net.MalformedURLException     *             if {@link XFireProxyFactory#create} threw one     */    private Object makeClient()        throws Exception    {        String serviceName = getServiceName();        String namespace = getNamespaceUri();        Service serviceModel;        if (_wsdlDocumentUrl == null)        {            serviceModel = getServiceFactory().create(getServiceInterface(),                                                      serviceName,                                                      namespace,                                                      _properties);                    }        else        {            QName name = null;            if (serviceName != null && namespace != null)            {                name = new QName(namespace, serviceName);            }                        Resolver resolver = new Resolver(_wsdlDocumentUrl);            URI uri = resolver.getURI();            if (uri == null)            {                throw new XFireRuntimeException("Could not resolve uri " + uri);            }                        serviceModel = getServiceFactory().create(getServiceInterface(),                                                      name,                                                      uri.toURL(),                                                      _properties);        }        String serviceUrl = getUrl();        if (serviceUrl != null)         {            return new XFireProxyFactory().create(serviceModel, serviceUrl);        }                if (_endpointName == null)        {            _endpointName = findFirstSoapEndpoint(serviceModel.getEndpoints());        }                if (_endpointName != null)        {            Endpoint ep = serviceModel.getEndpoint(_endpointName);            if (ep == null)                throw new IllegalStateException("Could not find endpoint with name " + _endpointName + " on service.");                        return new XFireProxyFactory().create(ep);        }        else            throw new IllegalStateException("A WSDL URL or service URL must be supplied.");    }    private QName findFirstSoapEndpoint(Collection endpoints)    {        for (Iterator itr = endpoints.iterator(); itr.hasNext();)        {            Endpoint ep = (Endpoint) itr.next();                        if (ep.getBinding() instanceof AbstractSoapBinding)                return ep.getName();        }        return null;    }    /**     * Gets the Definition contained in the WSDL document (does not currently support reading     * WSDL that is protected with authentication).     * @return Definition describing the service(s)     * @throws Exception if the definition could not be read     */    protected Definition getWSDLDefinition()        throws Exception    {        return WSDLFactory.newInstance().newWSDLReader().readWSDL(getWsdlDocumentUrl());    }    public String toString()    {        StringBuffer builder = new StringBuffer();        builder.append("XFire client proxy for: ");        builder.append(getServiceInterface());        if (getUrl() != null)        {            builder.append(" at: ");            builder.append(getUrl());        }                return builder.toString();    }    /**     * Interceptor for (i.e. proxy to) the actual XFire client proxy. This class     * performs lazy initialization of the XFire client proxy, which can come in     * handy if the service is not guaranteed to be available by the time the     * factory bean is used to created an instance, but will be available by the     * time the client is actually called.     * <p>     * This does add some overhead since synchronization is used to ensure only     * one client is ever allocated. Furthermore if there is a problem accessing     * the service it is not detected until the first call.     */    private class ProxyInterceptor        implements MethodInterceptor    {        // actual XFire client proxy        private Object _serviceClient;        public Object invoke(MethodInvocation invocation)            throws Throwable        {            if (_serviceClient == null)            {                if (AopUtils.isToStringMethod(invocation.getMethod()))                {                    // do not lookup service for toString()                    return "Un-initialized " + XFireClientFactoryBean.this.toString();                }            }            Method method = invocation.getMethod();            Object[] args = invocation.getArguments();            Object client = getClient();            try            {                return method.invoke(client, args);            }            catch (InvocationTargetException e)            {                Object target = SpringUtils.getUserTarget(client);                Client c = Client.getInstance(target);                StringBuffer callTarget = new StringBuffer(c.getUrl()).append(" arguments: ");                for(int x = 0 ; x < args.length ; x ++ )                {                    callTarget.append(args[x].getClass().getName()).append(" : ").append(args[x].toString()).append(" |");                }                Throwable targetException = e.getTargetException();                if (targetException instanceof XFireRuntimeException)                {                    // convert XFire runtime exception to one detailing call                    // made                    XFireRuntimeException xfRt = (XFireRuntimeException) targetException;                    Throwable cause = xfRt.getCause();                    throw new XFireRuntimeException("Exception while calling: " + callTarget.toString(), cause);                }                throw targetException;            }        }        /**         * Gets the actual client proxy. This implementation ensures only one         * client proxy is ever created, even in multi-threaded situations         *          * @return service client proxy         * @throws MalformedURLException         */        private synchronized Object getClient()            throws Exception        {            if (_serviceClient == null)            {                _serviceClient = createClient();            }            return _serviceClient;        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区四区在线免费观看| 亚洲国产精品v| 色悠悠久久综合| 99视频热这里只有精品免费| 国产精品一区二区黑丝| 国产精品99久久久久久似苏梦涵| 韩国视频一区二区| 国产精品1区2区| 粉嫩aⅴ一区二区三区四区| 国产一区二区精品在线观看| 国产白丝精品91爽爽久久| 国产精品自拍网站| 懂色av一区二区夜夜嗨| 成人aaaa免费全部观看| 91女厕偷拍女厕偷拍高清| 日本乱码高清不卡字幕| 欧美无砖专区一中文字| 欧美久久久久久久久中文字幕| 欧美年轻男男videosbes| 欧美日韩一区在线| 日韩欧美亚洲国产另类| 久久久久97国产精华液好用吗| 国产精品成人免费| 亚洲美女视频在线观看| 秋霞国产午夜精品免费视频| 国内精品不卡在线| av在线播放一区二区三区| 欧美亚洲国产bt| 欧美大片一区二区三区| 国产精品色在线| 亚洲国产欧美一区二区三区丁香婷| 日本亚洲电影天堂| 国产91精品免费| 欧美午夜电影在线播放| 久久久久九九视频| 樱花影视一区二区| 国产一区视频在线看| 一本到不卡免费一区二区| 欧美电影免费提供在线观看| 中文字幕欧美一区| 日本sm残虐另类| 97精品国产露脸对白| 日韩情涩欧美日韩视频| 亚洲精品亚洲人成人网| 国内成人免费视频| 欧美日韩夫妻久久| 国产精品久久久久久久久图文区 | 国产美女娇喘av呻吟久久| 91香蕉视频在线| 精品剧情v国产在线观看在线| 亚洲精品写真福利| 国产v日产∨综合v精品视频| 91精品国产欧美一区二区18| 亚洲精品日韩综合观看成人91| 国产一区二区三区在线观看免费视频| 欧美私模裸体表演在线观看| 综合分类小说区另类春色亚洲小说欧美| 日韩电影免费一区| 在线观看免费视频综合| 国产精品色婷婷| 国产剧情一区在线| 这里只有精品99re| 亚洲图片欧美一区| 一本色道久久综合狠狠躁的推荐 | 成人国产精品免费观看视频| 欧美一区二区三区免费在线看 | 国产一区二区三区免费看 | 日韩伦理av电影| 国产精品亚洲视频| 精品国产乱码久久久久久久 | 欧美精品一区二区三区蜜桃| 午夜伦理一区二区| 欧美日韩一卡二卡| 艳妇臀荡乳欲伦亚洲一区| 成人h动漫精品一区二区| 久久午夜羞羞影院免费观看| 精品一区二区三区免费毛片爱 | 色综合久久久久| 自拍偷拍亚洲激情| 成人av网址在线| 中文字幕一区不卡| 色哟哟国产精品| 亚洲国产一区二区三区| 91猫先生在线| 亚洲宅男天堂在线观看无病毒| 欧洲激情一区二区| 日本欧美一区二区三区乱码| 日韩欧美国产综合| 国产一区91精品张津瑜| 欧美高清在线视频| 色香蕉成人二区免费| 亚洲线精品一区二区三区八戒| 7777精品伊人久久久大香线蕉最新版| 午夜成人免费电影| 精品剧情在线观看| 91在线观看成人| 午夜精品免费在线观看| 欧美成人a在线| www.亚洲在线| 亚洲一区二区欧美| 日韩精品一区国产麻豆| 国产成人午夜99999| 亚洲精品视频免费观看| 欧美三级蜜桃2在线观看| 美腿丝袜亚洲综合| 国产精品国产三级国产| 在线91免费看| 夫妻av一区二区| 亚洲成a人片综合在线| 日韩免费看的电影| 99精品视频一区二区| 日韩不卡免费视频| 国产精品嫩草影院av蜜臀| 欧美猛男男办公室激情| 成人性生交大片免费看中文网站| 一级日本不卡的影视| 国产夜色精品一区二区av| 在线精品视频免费播放| 狠狠色2019综合网| 亚洲一区二区免费视频| 国产精品色哟哟| 欧美sm极限捆绑bd| 在线观看免费亚洲| 成人ar影院免费观看视频| 老司机午夜精品99久久| 亚洲精品日韩综合观看成人91| 久久精品一区四区| 欧美一区二区三区四区五区| 91麻豆精品一区二区三区| 韩国一区二区三区| 石原莉奈在线亚洲二区| 亚洲激情中文1区| 国产精品欧美精品| 久久久久久久性| 日韩欧美一级特黄在线播放| 色天天综合久久久久综合片| 成人污视频在线观看| 国产麻豆精品在线| 精品影视av免费| 麻豆视频观看网址久久| 亚洲成人动漫在线免费观看| 亚洲男同1069视频| 成人欧美一区二区三区在线播放| 久久精品欧美一区二区三区不卡 | 日韩av电影天堂| 亚洲综合免费观看高清完整版| 中文一区在线播放| 久久先锋影音av| 久久美女艺术照精彩视频福利播放| 欧美日韩久久不卡| 欧美日韩视频在线第一区| 日本韩国一区二区| 在线观看日韩国产| 欧美亚洲禁片免费| 精品视频一区二区三区免费| 欧美日韩精品电影| 欧美亚洲自拍偷拍| 欧美人伦禁忌dvd放荡欲情| 在线视频你懂得一区二区三区| 91视频免费播放| 91久久精品网| 欧美性感一类影片在线播放| 欧美视频日韩视频| 91精品国产免费久久综合| 9191成人精品久久| 欧美mv日韩mv| 国产精品灌醉下药二区| 亚洲图片你懂的| 亚洲国产成人高清精品| 日本亚洲免费观看| 国产精品99久久久久| 99久久国产综合精品色伊| 91福利小视频| 日韩欧美三级在线| 国产欧美日韩在线| 亚洲精品菠萝久久久久久久| 视频在线观看91| 国产成人一级电影| 91浏览器入口在线观看| 欧美妇女性影城| 久久众筹精品私拍模特| 综合久久久久综合| 日本中文在线一区| 成人免费视频视频在线观看免费 | 日韩美一区二区三区| 久久综合久久鬼色中文字| 18成人在线观看| 秋霞午夜av一区二区三区| 成人在线视频一区| 91精品国产综合久久久久久久久久| 精品国免费一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 亚洲制服丝袜一区| 国产99久久久久| 日韩三级伦理片妻子的秘密按摩| 欧美国产激情二区三区| 喷白浆一区二区| 色综合天天综合色综合av | 日韩黄色免费电影| 成人在线综合网站|