Author: akazakov
Date: 2007-07-18 05:58:43 -0400 (Wed, 18 Jul 2007)
New Revision: 2493
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamComponentMethodType.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-514 Added @Unwrap method into seam model
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamComponentMethodType.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamComponentMethodType.java 2007-07-18
09:18:22 UTC (rev 2492)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamComponentMethodType.java 2007-07-18
09:58:43 UTC (rev 2493)
@@ -18,10 +18,11 @@
public enum SeamComponentMethodType implements SeamAnnotations {
CREATE(CREATE_ANNOTATION_TYPE),
DESTROY(DESTROY_ANNOTATION_TYPE),
- REMOVE(REMOVE_ANNOTATION_TYPE);
-
+ REMOVE(REMOVE_ANNOTATION_TYPE),
+ UNWRAP(UNWRAP_ANNOTATION_TYPE);
+
String annotationType;
-
+
SeamComponentMethodType(String annotationType) {
this.annotationType = annotationType;
}
@@ -29,5 +30,4 @@
public String getAnnotationType() {
return annotationType;
}
-
-}
+}
\ No newline at end of file
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java 2007-07-18
09:18:22 UTC (rev 2492)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java 2007-07-18
09:58:43 UTC (rev 2493)
@@ -30,6 +30,7 @@
public static String CREATE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX +
"Create";
public static String DESTROY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX +
"Destroy";
+ public static String UNWRAP_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX +
"Unwrap";
public static String REMOVE_ANNOTATION_TYPE = "javax.ejb.Remove";
public static String FACTORY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX +
"Factory";