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

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


      try {
        final ClassInfo objectClassInfo = classInfoFactory
            .getNoProxyClassInfo(objectClass);
        final Object newInstance;
        if (proxyMode) {
          final StorageInfo storageInfo = new StorageInfo();
          newInstance = proxyManager2.newInstanceConstruct(
              objectClassInfo, storageInfo, objectIOManager,
              null/*
                 * no data record identifier
                 */, true/* persisted */);
 
View Full Code Here


  public Object newInstanceNoConstruction(final ClassInfo objectClassInfo) {
    synchronized (mutex) {
      try {
        final Object newInstance;
        if (proxyMode) {
          final StorageInfo storageInfo = new StorageInfo();
          final ObjectAndPersistInfo objectAndPersistInfo = proxyManager2
              .newInstanceNoConstruction(objectClassInfo,
                  storageInfo, objectIOManager, null/*
                                   * no data
                                   * record
 
View Full Code Here

    assertStorable(classInfo);
    final Deque<ClassReplacementDef> replacementDef = replacementDefForHeader(classInfo);

    final ObjectAndPersistInfo objectAndPersistInfo;

    final StorageInfo storageInfo = new StorageInfo();
    storageInfo.setReplacementDefList(replacementDef);
    storageInfo.setHeaderDataSize(headerReader.headerDataSize);
    storageInfo.setJoafipReleaseId(headerReader.joafipReleaseId);
    storageInfo.setDataModelIdentifier(headerReader.dataModelIdentifier);

    if (replacementDef.isEmpty()) {

      // ASSERTX
      assert assertClassExists(classInfo);
View Full Code Here

      final Class<?>[] parameterTypes, final Object[] initargs) {
    try {
      final ClassInfo objectClassInfo = classInfoFactory
          .getNoProxyClassInfo(objectClass);
      return proxyManager2.newInstanceConstruct(objectClassInfo,
          parameterTypes, initargs, new StorageInfo(), this, null,
          true);
    } catch (final ClassInfoException exception) {
      throw new ObjectIORuntimeException(exception);
    } catch (final ProxyException exception) {
      throw new ObjectIORuntimeException(exception);
View Full Code Here

  public Object newInstance(final Class<?> objectClass) {
    try {
      final ClassInfo objectClassInfo = classInfoFactory
          .getNoProxyClassInfo(objectClass);
      return proxyManager2.newInstanceConstruct(objectClassInfo,
          new StorageInfo(), this, null, true);
    } catch (final ClassInfoException exception) {
      throw new ObjectIORuntimeException(exception);
    } catch (final ProxyException exception) {
      throw new ObjectIORuntimeException(exception);
    }
View Full Code Here

  @Override
  public Object newInstanceNoConstruction(final ClassInfo objectClassInfo) {
    try {
      return proxyManager2.newInstanceNoConstruction(objectClassInfo,
          new StorageInfo(), this, null, true);
    } catch (final ProxyException exception) {
      throw new ObjectIORuntimeException(exception);
    }
  }
View Full Code Here

          /**/classInfoFactory.getNoProxyClassInfo(StoreRoot4.class);
          if (proxyMode) {
            /* store root will be store in data record #1 */
            storeRoot = (StoreRoot4) proxyManager2
                .newInstanceConstruct(storeRootClassInfo,
                    new StorageInfo(), objectIOManager,
                    dataRecordIdentifier, true);
          } else {
            storeRoot = new StoreRoot4();
            /*
             * force creation of store root persist information for
View Full Code Here

TOP

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

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.