[
https://issues.jboss.org/browse/AS7-6221?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry commented on AS7-6221:
---------------------------------------
I put a 7.3 Fix Version on this because I don't want to deal with compatibility issues
at this point in the 7.2 cycle. If it turns out this only became read-write during 7.2
development, then we should fix it in 7.2.
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