[jboss-jira] [JBoss JIRA] Created: (AS7-1971) Better base class for write-attribute handlers
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed Sep 28 14:08:27 EDT 2011
Better base class for write-attribute handlers
----------------------------------------------
Key: AS7-1971
URL: https://issues.jboss.org/browse/AS7-1971
Project: Application Server 7
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.1.0.Beta1
ServerWriteAttributeOperationHandler isn't a very nice base for a write-attribute handler.
1) It does stuff in Stage.MODEL (validateResolvedValue()) that should be in Stage.RUNTIME.
2) It forces subclasses to register a Stage.RUNTIME handler, instead of providing that for them.
3) It doesn't provide very good support for handling rollbacks of runtime changes.
4) It's in the server module instead of controller.
I'm going to add a new AbstractWriteAttributeHandler in controller, deprecate ServerWriteAttributeOperationHandler, and convert all existing uses of it in the AS code base.
--
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