[jboss-jira] [JBoss JIRA] Updated: (AS7-385) Deal with expression values in all operation handlers
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri May 20 11:32:00 EDT 2011
[ https://issues.jboss.org/browse/AS7-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-385:
---------------------------------
Fix Version/s: 7.1.0.Alpha1
(was: 7.0.0.CR1)
I'm leaning toward limiting expression support to a limited number of attributes, with metadata in the resource description to indicate which.
For AS 7.0 I want to be sure interface and socket-related support is present so that stuff can be controlled from the command line.
> Deal with expression values in all operation handlers
> -----------------------------------------------------
>
> Key: AS7-385
> URL: https://issues.jboss.org/browse/AS7-385
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management
> Reporter: Brian Stansberry
> Priority: Critical
> Fix For: 7.1.0.Alpha1
>
>
> Pretty much any simple value in a detyped operation can be of type ModelType.EXPRESSION instead something an OperationHandler might expect, like ModelType.STRING or ModelType.INT. All handlers need to deal with this fact.
> There are two main aspects to this:
> 1) Any parameter validation that goes on needs to account for the presence of expression values. Basically that means
> a) accept the expression for storage in the model
> b) call resolve() on the operation and use the resolved version for application to the runtime.
> c) re-validation of the resolved value may be necessary
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list