Examples of FieldPersistentReference


Examples of com.ovea.jetty.session.serializer.jboss.serial.references.FieldPersistentReference

    /**
     * @param field The field to set.
     */
    public void setField(Field afield) {
        this.field = new FieldPersistentReference(afield, ClassMetaData.REFERENCE_TYPE_IN_USE);
    }
View Full Code Here

Examples of org.jboss.cache.aop.references.FieldPersistentReference

      return new FieldsIterator(this);
   }

   public Field getField(String name)
   {
      FieldPersistentReference ref = (FieldPersistentReference)fieldMap.get(name);
      if (ref==null) return null;
      return (Field)ref.get();
   }
View Full Code Here

Examples of org.jboss.cache.aop.references.FieldPersistentReference

         Field f = classFields[i];
         if(isStaticOrFinalField(f)) continue;

         f.setAccessible(true);

         FieldPersistentReference persistentRef = new FieldPersistentReference(f, PersistentReference.REFERENCE_SOFT);

         fields.add(persistentRef);
         fieldMap.put(f.getName(), persistentRef);
      }
   }
View Full Code Here

Examples of org.jboss.cache.aop.references.FieldPersistentReference

         return source.hasNext();
      }

      public Object next()
      {
         FieldPersistentReference ref = (FieldPersistentReference) source.next();
         return (ref == null) ? null : ref.get();
      }
View Full Code Here

Examples of org.jboss.cache.pojo.memory.FieldPersistentReference

      return finalFields;
   }

   public Field getField(String name)
   {
      FieldPersistentReference ref = fieldMap.get(name);
      if (ref == null) return null;
      return (Field) ref.get();
   }
View Full Code Here

Examples of org.jboss.cache.pojo.memory.FieldPersistentReference

         Field f = classFields[i];
         if (isNonReplicable(f)) continue;

         PrivilegedCode.setAccessible(f);

         FieldPersistentReference persistentRef = new FieldPersistentReference(f, PersistentReference.REFERENCE_SOFT);

         fields.add(persistentRef);
         fieldMap.put(f.getName(), persistentRef);
      
         if (Modifier.isFinal(f.getModifiers()))
View Full Code Here

Examples of org.jboss.serial.references.FieldPersistentReference

     * @param field
     *            The field to set.
     */
    public void setField(Field afield)
    {
       this.field = new FieldPersistentReference(afield,ClassMetaData.REFERENCE_TYPE_IN_USE);
    }
View Full Code Here

Examples of org.jboss.serial.references.FieldPersistentReference

/*  62 */     return (Field)this.field.get();
/*     */   }
/*     */
/*     */   public void setField(Field afield)
/*     */   {
/*  71 */     this.field = new FieldPersistentReference(afield, 2);
/*     */   }
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.