Package org.xeustechnologies.jcl.test

Examples of org.xeustechnologies.jcl.test.TestInterface


        jc.add( "./target/test-jcl.jar" );

        JclObjectFactory factory = JclObjectFactory.getInstance();
        Object testObj = factory.create( jc, "org.xeustechnologies.jcl.test.Test" );

        TestInterface ti = JclUtils.cast( testObj, TestInterface.class );

        assertNotNull( ti );

        // ti = JclUtils.cast( testObj );
        //
View Full Code Here


        // 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" );

        assertNotNull( test );
    }
View Full Code Here

TOP

Related Classes of org.xeustechnologies.jcl.test.TestInterface

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.