Package org.jboss.cache.aop.references

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


         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

         return source.hasNext();
      }

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

TOP

Related Classes of org.jboss.cache.aop.references.FieldPersistentReference

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.