[jboss-jira] [JBoss JIRA] (AS7-3216) Web services extension does not register write-attribute handlers for any attributes
Brian Stansberry (Reopened) (JIRA)
jira-events at lists.jboss.org
Mon Jan 9 13:34:09 EST 2012
[ https://issues.jboss.org/browse/AS7-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reopened AS7-3216:
-----------------------------------
I see lots of attributes:
WSSubsystemAdd:
if (operation.hasDefined(WSDL_PORT)) {
submodel.get(WSDL_PORT).set(operation.require(WSDL_PORT));
}
if (operation.hasDefined(WSDL_SECURE_PORT)) {
submodel.get(WSDL_SECURE_PORT).set(operation.require(WSDL_SECURE_PORT));
}
if (appclient && operation.hasDefined(WSDL_HOST)) {
submodel.get(WSDL_HOST).setExpression(operation.require(WSDL_HOST).asString());
}
if (!appclient) {
submodel.get(WSDL_HOST).setExpression(operation.require(WSDL_HOST).asString());
configValidator.validate(operation);
submodel.get(MODIFY_WSDL_ADDRESS).set(operation.require(MODIFY_WSDL_ADDRESS));
submodel.get(ENDPOINT_CONFIG).setEmptyObject();
submodel.get(ENDPOINT).setEmptyObject();
}
In EndpointConfigAdd:
if (operation.hasDefined(Constants.PRE_HANDLER_CHAINS)) {
ModelNode preHandlers = operation.get(Constants.PRE_HANDLER_CHAINS);
model.get(Constants.PRE_HANDLER_CHAINS).set(preHandlers);
}
if (operation.hasDefined(Constants.POST_HANDLER_CHAINS)) {
ModelNode postHandlers = operation.get(Constants.POST_HANDLER_CHAINS);
model.get(Constants.POST_HANDLER_CHAINS).set(postHandlers);
}
if (operation.hasDefined(Constants.PROPERTY)) {
ModelNode property = operation.get(Constants.PROPERTY);
model.get(Constants.PROPERTY).set(property);
}
if (operation.hasDefined(Constants.FEATURE)) {
ModelNode feature = operation.get(Constants.FEATURE);
model.get(Constants.FEATURE).set(feature);
}
> Web services extension does not register write-attribute handlers for any attributes
> ------------------------------------------------------------------------------------
>
> Key: AS7-3216
> URL: https://issues.jboss.org/browse/AS7-3216
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management, Web Services
> Affects Versions: 7.1.0.CR1b
> Reporter: Brian Stansberry
> Assignee: Richard Opalka
> Priority: Blocker
>
> Any attribute that is stored in the persistent configuration (standalone/domain.xml) needs to have be registered via ManagementResourceRegistration.registerReadWriteAttribute(...). This allows the configuration to be updated without forcing the user to edit xml.
> If the change to the attribute cannot be immediately reflected in the runtime, then pass an instance of org.jboss.as.controller.ReloadRequiredWriteAttributeHandler to registerReadWriteAttribute as the value for the "writeHandler" parameter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list