Add @Mock alternative stereotype
--------------------------------
Key: SOLDER-67
URL:
https://issues.jboss.org/browse/SOLDER-67
Project: Seam Solder
Issue Type: Feature Request
Components: Core
Affects Versions: 3.0.0.Beta1
Reporter: Dan Allen
Naturally, each application is going to have it's own set of stereotypes and
qualifiers, some of which will be used for project stage or target environment control.
But then there are those roles that are so universal, that they would find a fit in nearly
every application, like the @Model stereotype provided by the CDI spec. Solder should
provide a @Mock alternative stereotype that can be used to control deployment of
development-time beans. @Mock is even cited in the CDI api.
Providing a @Mock annotation centrally is beneficial to example projects and helps to
raise awareness of the utility of a bean alternative.
@Alternative
@Stereotype
@Target(TYPE)
@Retention(RUNTIME)
public @interface Mock {}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira