Package net.sf.joafip.store.service.objectio.manager

Examples of net.sf.joafip.store.service.objectio.manager.ClassNameManager.load()


    classInfoFactory.setConversionManager(new ConversionManager(
        classInfoFactory));
    final ClassNameManager classNameManager = new ClassNameManager(
        recordableManager, storeHeader, classInfoFactory,
        helperBinaryConversion);
    classNameManager.load();

    assertEquals("must be class #0", 0,
        classNameManager.getIdentifier(classInfoFactory
            .getNoProxyClassInfo(this.getClass())));
    assertTrue("store header must changed", storeHeader.isStateChanged());
View Full Code Here


    assertTrue("store header must changed", storeHeader.isStateChanged());
    recordableManager.save();
    assertFalse("store header must unchanged", storeHeader.isStateChanged());
    dataManager.flush();
    classNameManager.clear();
    classNameManager.load();

    assertEquals("must be class #0", 0,
        classNameManager.getIdentifier(classInfoFactory
            .getNoProxyClassInfo(this.getClass())));
    assertEquals("must be class #1", 1,
View Full Code Here

    assertTrue("store header must changed", storeHeader.isStateChanged());
    recordableManager.save();
    dataManager.flush();
    classNameManager.clear();
    classNameManager.load();

    assertEquals("must be class #0", 0,
        classNameManager.getIdentifier(classInfoFactory
            .getNoProxyClassInfo(this.getClass())));
    assertEquals("must be class #1", 1,
View Full Code Here

    objectIOManager = new ObjectIOManager(1, dataManager,
        true/* proxy mode */, classNameManager, storeSynchro,
        classInfoFactory, helperBinaryConversion, proxyManager2);
    objectIOManager.setGarbageManagement(true/* garbage management */, this);
    objectStateMap = objectIOManager.getObjectStateMap();
    classNameManager.load();
  }

  /**
   * access to proxied object fields must works using declared fields gotten
   * from object 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.