[jboss-jira] [JBoss JIRA] Created: (JBAS-8827) Deal with expression values in all operation handlers

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Jan 23 13:32:49 EST 2011


Deal with expression values in all operation handlers
-----------------------------------------------------

                 Key: JBAS-8827
                 URL: https://issues.jboss.org/browse/JBAS-8827
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Domain Management
            Reporter: Brian Stansberry
            Priority: Critical
             Fix For: 7.0.0.Beta1


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