Clone
Jeff Mesnil <jmesnil@gmail.com>
committed
on 16 Jan
[WFLY-11588] eliminates overrides of SimpleResourceDefinition.registerCapabilities
Configure capabilities using
org.jboss.as.controller.Simp… Show more
[WFLY-11588] eliminates overrides of SimpleResourceDefinition.registerCapabilities

Configure capabilities using

org.jboss.as.controller.SimpleResourceDefinition.Parameters#addCapabilities

instead of overriding SimpleResourceDefinition.registerCapabilities

(unless a specific treatment is required).

When registerCapabilities is overridden, always call

super.registerCapabilities()

JIRA: https://issues.jboss.org/browse/WFCORE-4276

Show less

master + 4 more