[jboss-jira] [JBoss JIRA] (AS7-6656) Provide stub extensions for removed subsystem configs
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Mar 1 10:34:56 EST 2013
[ https://issues.jboss.org/browse/AS7-6656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757841#comment-12757841 ]
Brian Stansberry commented on AS7-6656:
---------------------------------------
This should be fairly straightforward:
1) The Extension impls:
a) on a standalone server, throw an UnsupportedOperationException
b) on a domain server, do a no-op. Allows the extension:add to be propagated to the server, so no special handling on the HC is needed to stop that. But extension will do nothing. This works because of 2) below.
c) on an HC, register different handlers as per 2) below
2) Changes to the subsystem management operation handling
a) the "describe" handler throws an UnsupportedOperationException. So if the user configures the HC to use a profile with this subsystem on an AS 8 server, it will fail on the HC
b) Other handlers are changed to do nothing in Stage.RUNTIME. ModelOnlyWriteAttributeHandler can be used liberally. A similar class for :add and :remove can be easily written as well. That will handle the great majority of stuff.
> Provide stub extensions for removed subsystem configs
> -----------------------------------------------------
>
> Key: AS7-6656
> URL: https://issues.jboss.org/browse/AS7-6656
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management
> Reporter: Thomas Diesler
> Assignee: Brian Stansberry
> Fix For: 8.0.0.Alpha1
>
>
> Some config parser/transform functionality is needed if we don't want to break backward compatibility with AS7x configs.
> http://lists.jboss.org/pipermail/jboss-as7-dev/2013-February/007721.html
--
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