[jboss-jira] [JBoss JIRA] (AS7-6221) JCA workmanager and bootstrap-context "name" attributes are read-write

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Dec 19 14:03:08 EST 2012


Brian Stansberry created AS7-6221:
-------------------------------------

             Summary: JCA workmanager and bootstrap-context "name" attributes are read-write
                 Key: AS7-6221
                 URL: https://issues.jboss.org/browse/AS7-6221
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management, JCA
            Reporter: Brian Stansberry
            Assignee: Stefano Maestri
             Fix For: 7.3.0.Alpha1


The "name" attributes for workmanager and bootstrap-context resources are read-write and should be read-only. They represent the value of the last element of the resource address and thus should not be changed independently of adding/removing the resource.

Where we find these "name" attributes we've been converting their handling such that when they get registered in ManagementResourceRegistration, it is done like this:

mrr.registerReadOnlyAttribute(NAME, ReadResourceNameOperationStepHandler.INSTANCE);

where "NAME" is an AttributeDefinition.

With that, the "add" handler for the resource shouldn't store the name in the model.

--
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