add a way to veto Beans depending on a particular ProjectStage
--------------------------------------------------------------
Key: EXTCDI-17
URL: https://issues.apache.org/jira/browse/EXTCDI-17
Project: MyFaces CODI
Issue Type: New Feature
Reporter: Mark Struberg
This is handy if you e.g. have a
MailServiceImpl implements MailService
and a mock version for unit tests:
MockMailServiceImpl implements MailService which is an @Alternative
Usually this mock service shall only get used in the ProjectStages UnitTest and
Development, thus it can simply get marked as
@ProjectStageActivated({ProjectStage.UnitTest.class,
ProjectStage.Development.class})
@Alternative
MockMailServiceImpl implements MailService which is an @Alternative
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.