Package org.jboss.util.collection

Examples of org.jboss.util.collection.SerializableEnumeration


         // BMP entity finder methods are allowed to return java.util.Enumeration.
         // We need a serializable Enumeration, so we can't use Collections.enumeration()
         if (returnType == Enumeration.class)
         {
            return new SerializableEnumeration(c);
         }
         else
         {
            return c;
         }
View Full Code Here


         // BMP entity finder methods are allowed to return java.util.Enumeration.
         // We need a serializable Enumeration, so we can't use Collections.enumeration()
         if (returnType == Enumeration.class)
         {
            return new SerializableEnumeration(c);
         }
         else
         {
            return c;
         }
View Full Code Here

/*      */
/*  718 */       Collection c = getPersistenceManager().findEntities(method, args, instance, ci);
/*      */
/*  722 */       if (returnType == Enumeration.class)
/*      */       {
/*  724 */         return new SerializableEnumeration(c);
/*      */       }
/*      */
/*  728 */       return c;
/*      */     }
/*      */
View Full Code Here

TOP

Related Classes of org.jboss.util.collection.SerializableEnumeration

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.