@Override public String getTypeName() { return dna.getTypeName(); }
@Override public String getTypeName() { return dna.getTypeName(); }
private void updateStats(final List prunedChanges) { for (final Iterator i = prunedChanges.iterator(); i.hasNext();) { final DNA dna = (DNA) i.next(); String className = dna.getTypeName(); if (className == null) { className = "UNKNOWN"; // Could happen on restart scenario } this.objectStatsRecorder.updateBroadcastStats(className); } }
tcobj = this.clientObjectManager.lookupQuiet(dna.getObjectID()); } catch (final ClassNotFoundException cnfe) { logger.warn("Could not apply change because class not local: " + dna.getTypeName()); continue; } catch (AbortedOperationException e) {
tcobj = this.clientObjectManager.lookupQuiet(dna.getObjectID()); } catch (final ClassNotFoundException cnfe) { logger.warn("Could not apply change because class not local: " + dna.getTypeName()); continue; } catch (AbortedOperationException e) {
tcobj = this.clientObjectManager.lookupQuiet(dna.getObjectID()); } catch (final ClassNotFoundException cnfe) { logger.warn("Could not apply change because class not local: " + dna.getTypeName()); continue; } catch (AbortedOperationException e) {
instanceMonitor.instanceCreated(dna.getTypeName()); throw new AssertionError("Creating state on an initialized object."); setState(getStateFactory().createState(this.id, dna.getParentObjectID(), dna.getTypeName(), cursor));
private TCObject createObjectWithDNA(DNA dna) throws ClassNotFoundException { TCObject obj = null; Class clazz = this.classProvider.getClassFor(dna.getTypeName()); TCClass tcClazz = clazzFactory.getOrCreate(clazz, this); Object pojo = createNewPojoObject(tcClazz, dna); obj = this.factory.getNewInstance(dna.getObjectID(), pojo, clazz, false); Assert.assertFalse(dna.isDelta()); // now hydrate the object, this could call resolveReferences which would call this method recursively if (obj instanceof TCObjectSelf) { obj.hydrate(dna, false, null); } else { obj.hydrate(dna, false, newWeakObjectReference(dna.getObjectID(), pojo)); } basicAddLocal(obj); return obj; }
private TCObject createObjectWithDNA(DNA dna) throws ClassNotFoundException { TCObject obj = null; Class clazz = this.classProvider.getClassFor(Namespace.parseClassNameIfNecessary(dna.getTypeName())); TCClass tcClazz = clazzFactory.getOrCreate(clazz, this); Object pojo = createNewPojoObject(tcClazz, dna); obj = this.factory.getNewInstance(dna.getObjectID(), pojo, clazz, false); Assert.assertFalse(dna.isDelta()); // now hydrate the object, this could call resolveReferences which would call this method recursively if (obj instanceof TCObjectSelf) { obj.hydrate(dna, false, null); } else { obj.hydrate(dna, false, newWeakObjectReference(dna.getObjectID(), pojo)); } basicAddLocal(obj); return obj; }
private TCObject createObjectWithDNA(DNA dna) throws ClassNotFoundException { TCObject obj = null; Class clazz = this.classProvider.getClassFor(Namespace.parseClassNameIfNecessary(dna.getTypeName())); TCClass tcClazz = clazzFactory.getOrCreate(clazz, this); Object pojo = createNewPojoObject(tcClazz, dna); obj = this.factory.getNewInstance(dna.getObjectID(), pojo, clazz, false); Assert.assertFalse(dna.isDelta()); // now hydrate the object, this could call resolveReferences which would call this method recursively if (obj instanceof TCObjectSelf) { obj.hydrate(dna, false, null); } else { obj.hydrate(dna, false, newWeakObjectReference(dna.getObjectID(), pojo)); } basicAddLocal(obj); return obj; }