Package com.alibaba.dubbo.common.extensionloader.ext6_inject

Examples of com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6.echo()


        Ext6 ext = ExtensionLoader.getExtensionLoader(Ext6.class).getAdaptiveExtension();

        URL url = new URL("p1", "1.2.3.4", 1010, "path1");
        url = url.addParameters("ext6", "impl1");
       
        assertEquals("Ext6Impl1-echo-Ext1Impl1-echo", ext.echo(url, "ha"));
       
        Assert.assertTrue("can not find error.", LogUtil.checkNoError());
        LogUtil.stop();
       
        url = url.addParameters("simple.ext", "impl2");
View Full Code Here


       
        Assert.assertTrue("can not find error.", LogUtil.checkNoError());
        LogUtil.stop();
       
        url = url.addParameters("simple.ext", "impl2");
        assertEquals("Ext6Impl1-echo-Ext1Impl2-echo", ext.echo(url, "ha"));
       
    }
   
    @Test
    public void test_getAdaptiveExtension_InjectNotExtFail() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.