[jboss-cvs] JBossAS SVN: r59368 - projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/spi/attachments

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jan 5 03:30:38 EST 2007


Author: scott.stark at jboss.org
Date: 2007-01-05 03:30:36 -0500 (Fri, 05 Jan 2007)
New Revision: 59368

Modified:
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/spi/attachments/Attachments.java
Log:
Add a hasAttachments method to determine if any attachments exist.

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/spi/attachments/Attachments.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/spi/attachments/Attachments.java	2007-01-05 08:30:11 UTC (rev 59367)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/spi/attachments/Attachments.java	2007-01-05 08:30:36 UTC (rev 59368)
@@ -170,4 +170,10 @@
     * @throws UnsupportedOperationException when not supported by the implementation
     */
    void clear();
+
+   /**
+    * Are there any attachments
+    * @return true if there are any attachments, false otherwise.
+    */
+   public boolean hasAttachments();
 }




More information about the jboss-cvs-commits mailing list