Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6984

Allow ResourceDefinition.builder(ResourceRegistration, ResourceDescriptionResolver, SubsystemModel) to accept a null deprecated model

XMLWordPrintable

      Currently, a resource definition meant to be deprecated can be built via:
      ResourceDefinition.builder(ResourceRegistration, ResourceDescriptionResolver, SubsystemModel);
      However, if the resource definition is not deprecated, a different builder method must be used:
      ResourceDefinition.builder(ResourceRegistration, ResourceDescriptionResolver);

      For convenience with resource definition hierarchies (e.g. in JGroups and Infinispan subsystems), it would simplify registration code if the first method could accept a null SubsystemModel, such that the 2nd method can delegate to the first.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: