[jboss-jira] [JBoss JIRA] (AS7-6417) Deprecate OperationContext.Stage.IMMEDIATE
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Thu Feb 7 10:59:51 EST 2013
[ https://issues.jboss.org/browse/AS7-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar reassigned AS7-6417:
--------------------------------
Assignee: Tomaz Cerar
> Deprecate OperationContext.Stage.IMMEDIATE
> ------------------------------------------
>
> Key: AS7-6417
> URL: https://issues.jboss.org/browse/AS7-6417
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Tomaz Cerar
> Fix For: 7.3.0.Alpha1
>
>
> Stage.IMMEDIATE is just a shorthand for the 'stage' and 'addFirst' params exposed by the various OperationContext.addStep methods, equivalent to 'the current stage' and 'true'. It produces more understandable code to use, e.g. Stage.MODEL and 'true' than to use a fictitious Stage like IMMEDIATE, so IMMEDIATE should be deprecated as API bloat.
> One problem with IMMEDIATE is its name leads people to think the step is executed *immediately*, i.e. as part of the addStep call. This is incorrect but is a reasonable mistake to make.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list