[JBoss JIRA] Created: (JBIDE-8199) Support named packages
by Alexey Kazakov (JIRA)
Support named packages
----------------------
Key: JBIDE-8199
URL: https://issues.jboss.org/browse/JBIDE-8199
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.x
2.4. Named packages
Seam Solder allows you to annotate the package @Named, which causes every bean defined in
the package to be given its default name. Package annotations are defined in the file package-
info.java. For example, to cause any beans defined in com.acme to be given their default name:
@Named
package com.acme
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBIDE-8197) Support @Requires annotation
by Alexey Kazakov (JIRA)
Support @Requires annotation
----------------------------
Key: JBIDE-8197
URL: https://issues.jboss.org/browse/JBIDE-8197
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.x
2.1.2. @Requires
Annotating a class @Requires will cause the type to be ignored if the class dependencies can be satisfied. Any definitions on the type will not be processed:
• the managed bean, decorator, interceptor or session bean defined by the type
• any producer methods or producer fields defined on the type
• any observer methods defined on the type
For example:
@Requires(EntityManager.class)
class EntityManagerProducer {
@Produces EntityManager getEntityManager() {
...
}
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBIDE-8196) Support @Veto annotation.
by Alexey Kazakov (JIRA)
Support @Veto annotation.
-------------------------
Key: JBIDE-8196
URL: https://issues.jboss.org/browse/JBIDE-8196
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.x
Seam-solder reference guide:
2.1.1. @Veto.
Annotating a class @Veto will cause the type to be ignored, such that any definitions on the type will not be processed, including:
• the managed bean, decorator, interceptor or session bean defined by the type
• any producer methods or producer fields defined on the type
• any observer methods defined on the type
For example:
@Veto
class Utilities {
...
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months