Package net.sf.joafip.store.service.proxy

Examples of net.sf.joafip.store.service.proxy.IProxyManagerForObjectIO


    super.setUp();
    final HelperBinaryConversion helperBinaryConversion = new HelperBinaryConversion();
    final IClassNameManager classNameManager = new ClassNameManagerMock();
    final int currentDataModelIdentifier = 1;
    classInfoFactory = new ClassInfoFactory(currentDataModelIdentifier);
    final IProxyManagerForObjectIO proxyManager = new SerializerProxyManager(
        classInfoFactory);
    serializer = new SerializerObjectIOManager(currentDataModelIdentifier,
        classNameManager, classInfoFactory, helperBinaryConversion,
        proxyManager);
    helperBinaryConversion.initialize(classInfoFactory, serializer);
View Full Code Here


    final HelperBinaryConversion helperBinaryConversion = new HelperBinaryConversion();
    final IClassNameManager classNameManager = new ClassNameManagerMock();
    final int currentDataModelIdentifier = 1;
    final ClassInfoFactory classInfoFactory = new ClassInfoFactory(
        currentDataModelIdentifier);
    final IProxyManagerForObjectIO proxyManager = new SerializerProxyManager(
        classInfoFactory);
    serializer = new SerializerObjectIOManager(currentDataModelIdentifier,
        classNameManager, classInfoFactory, helperBinaryConversion,
        proxyManager);
    helperBinaryConversion.initialize(classInfoFactory, serializer);
View Full Code Here

      final IDeepCopyServiceDelegate deepCopyServiceDelagate,
      final boolean forceLoad) throws CopierException {
    this.rootSourceObject = rootSourceObject;
    this.classInfoFactory = deepCopyServiceDelagate.getClassInfoFactory();
    this.deepCopyServiceDelagate = deepCopyServiceDelagate;
    final IProxyManagerForObjectIO proxyManager2 = deepCopyServiceDelagate
        .getProxyManager2();
    final Object sourceCopy;
    try {
      clear();
      addObjectToCopyQueue(rootSourceObject);
      Object objectToCopy = objectToCopyQueue.pollFirst();
      while (objectToCopy != null) {
        if (forceLoad) {
          forceLoadImpl(objectToCopy);
        }
        addCopied(objectToCopy);
        final ClassInfo objectToCopyClassInfo = proxyManager2
            .classInfoOfObject(objectToCopy);
        createCopy(objectToCopy, objectToCopyClassInfo);
        objectToCopy = objectToCopyQueue.pollFirst();
      }
      final ClassInfo sourceObjectClassInfo = proxyManager2
          .classInfoOfObject(rootSourceObject);
      sourceCopy = getOrCreateObjectCopy(rootSourceObject,
          sourceObjectClassInfo);
      deepCopyDone();
    } catch (ProxyException exception) {
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.proxy.IProxyManagerForObjectIO

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.