Package com.thoughtworks.proxy

Examples of com.thoughtworks.proxy.ProxyFactory.canProxy()


*/
public class CglibProxyFactoryTest extends TestCase {

    public void testShouldDenyProxyGenerationForFinalClasses() throws Exception {
        ProxyFactory factory = new CglibProxyFactory();
        assertFalse(factory.canProxy(String.class));
    }
}
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.