[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Mon Jun 18 17:32:04 EDT 2007
User: gavin
Date: 07/06/18 17:32:04
Modified: src/main/org/jboss/seam/annotations Create.java
Destroy.java
Log:
make @Destroy optional on default @Remove method
Revision Changes Path
1.4 +5 -2 jboss-seam/src/main/org/jboss/seam/annotations/Create.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Create.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Create.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Create.java 8 Jun 2007 07:08:26 -0000 1.3
+++ Create.java 18 Jun 2007 21:32:03 -0000 1.4
@@ -1,4 +1,4 @@
-//$Id: Create.java,v 1.3 2007/06/08 07:08:26 gavin Exp $
+//$Id: Create.java,v 1.4 2007/06/18 21:32:03 gavin Exp $
package org.jboss.seam.annotations;
import static java.lang.annotation.ElementType.METHOD;
@@ -10,8 +10,11 @@
import java.lang.annotation.Target;
/**
+ * Alternative to javax.annotations.PostConstruct
+ * for use in a pre Java EE 5 environment.
+ *
* Designates a create method that is called after
- * instantiation of a component
+ * instantiation of a component.
*
* @author Gavin King
*/
1.5 +5 -2 jboss-seam/src/main/org/jboss/seam/annotations/Destroy.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Destroy.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Destroy.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Destroy.java 8 Jun 2007 07:08:26 -0000 1.4
+++ Destroy.java 18 Jun 2007 21:32:03 -0000 1.5
@@ -1,4 +1,4 @@
-//$Id: Destroy.java,v 1.4 2007/06/08 07:08:26 gavin Exp $
+//$Id: Destroy.java,v 1.5 2007/06/18 21:32:03 gavin Exp $
package org.jboss.seam.annotations;
import static java.lang.annotation.ElementType.METHOD;
@@ -10,8 +10,11 @@
import java.lang.annotation.Target;
/**
+ * Alternative to javax.annotations.PreDestroy
+ * for use in a pre Java EE 5 environment.
+ *
* Designates a destroy method that is called when a
- * context ends and the component is being disposed
+ * context ends and the component is being disposed.
*
* @author Gavin King
*/
More information about the jboss-cvs-commits
mailing list