Package org.gridkit.coherence.utils.pof

Examples of org.gridkit.coherence.utils.pof.ReflectionPofExtractor


        c.b = b;
        c.barray = new TypeB[]{b, b};

        Binary blob = ExternalizableHelper.toBinary(c, ctx);
       
        ReflectionPofExtractor extracter;
        extracter = new ReflectionPofExtractor("b.intArray");       
        Assert.assertArrayEquals(array, (int[])extracter.extractFromBinary(ctx, blob));       
   
        extracter = new ReflectionPofExtractor("b.intArray.length");       
        Assert.assertEquals(3, extracter.extractFromBinary(ctx, blob));       
    }
View Full Code Here


        c.b = b;
        c.barray = new TypeB[]{b, b};

        Binary blob = ExternalizableHelper.toBinary(c, ctx);
       
        ReflectionPofExtractor extracter;
        extracter = new ReflectionPofExtractor("b.intArray");
       
        Assert.assertEquals(null, extracter.extractFromBinary(ctx, blob));       
    }
View Full Code Here

TOP

Related Classes of org.gridkit.coherence.utils.pof.ReflectionPofExtractor

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.