Package org.xeustechnologies.jcl.proxy

Examples of org.xeustechnologies.jcl.proxy.CglibProxyProvider


    public void testAutoProxy() {
        JarClassLoader jc = new JarClassLoader();
        jc.add( "./target/test-jcl.jar" );

        // Set default to cglib
        ProxyProviderFactory.setDefaultProxyProvider( new CglibProxyProvider() );

        // Create auto proxies
        JclObjectFactory factory = JclObjectFactory.getInstance( true );
        TestInterface test = (TestInterface) factory.create( jc, "org.xeustechnologies.jcl.test.Test" );
View Full Code Here

TOP

Related Classes of org.xeustechnologies.jcl.proxy.CglibProxyProvider

Copyright © 2018 www.massapicom. 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.