Package net.sf.joafip.store.entity.objectio

Examples of net.sf.joafip.store.entity.objectio.EnumObjectInput


    if (classInfo.isUseSpecificObjectIO()) {
      objectInput = specificObjectInputMap.get(classInfo);
    } else {
      final boolean immediate = !proxyMode || notLazy
          || classInfo.isStoreNotLazy();
      final EnumObjectInput enumObjectInput;
      try {
        if (immediate) {
          enumObjectInput = classInfo.getObjectInput();
        } else {
          enumObjectInput = classInfo.getLazyObjectInput();
        }
      } catch (final ClassInfoException exception) {
        throw new ObjectIOException(exception);
      }
      // ASSERTX
      assert !EnumObjectInput.OBJECT_INPUT_SPECIFIC
          .equals(enumObjectInput) : "no default object io for specific io";
      objectInput = objectInputs[enumObjectInput.ordinal()];
      // ASSERTX
      assert enumObjectInput.isLazy() == objectInput.isLazy() : "lazy mode mismatch";
    }
    return objectInput;
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.objectio.EnumObjectInput

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.