Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19479

Remove usage of deprecated DeploymentModelUtils

XMLWordPrintable

    • ---
    • ---

      Use DeploymentResourceSupport.

      Class
          DeploymentModelUtils
      Usages in Project and Libraries  (24 usages found)
          Class static member access  (15 usages found)
              wildfly-connector  (7 usages found)
                  org.jboss.as.connector.deployers.ds.processors  (3 usages found)
                      DsXmlDeploymentInstallProcessor  (3 usages found)
                          getResource(String, boolean, DeploymentUnit)  (1 usage found)
                              402 final Resource root = unit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                          getRegistration(boolean, DeploymentUnit)  (2 usages found)
                              412 final Resource root = unit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                              414 ManagementResourceRegistration registration = unit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
                  org.jboss.as.connector.deployers.ra.processors  (4 usages found)
                      ParsedRaDeploymentProcessor  (2 usages found)
                          deploy(DeploymentPhaseContext)  (2 usages found)
                              81 final ManagementResourceRegistration baseRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
                              82 final Resource deploymentResource = deploymentUnit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                      RaXmlDeploymentProcessor  (2 usages found)
                          deploy(DeploymentPhaseContext)  (2 usages found)
                              58 final ManagementResourceRegistration baseRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
                              60 final Resource deploymentResource = deploymentUnit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
              wildfly-jpa  (2 usages found)
                  org.jboss.as.jpa.processor  (1 usage found)
                      PersistenceUnitServiceHandler  (1 usage found)
                          addManagementConsole(DeploymentUnit, PersistenceUnitMetadata, PersistenceProviderAdaptor, PersistenceAdaptorRemoval)  (1 usage found)
                              1149 final Resource deploymentResource = deploymentUnit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                  org.jboss.as.jpa.service  (1 usage found)
                      JPAService  (1 usage found)
                          createManagementStatisticsResource(ManagementAdaptor, String, DeploymentUnit)  (1 usage found)
                              143 ManagementResourceRegistration deploymentResourceRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
              wildfly-messaging-activemq-subsystem  (2 usages found)
                  org.wildfly.extension.messaging.activemq.deployment  (2 usages found)
                      MessagingXmlInstallDeploymentUnitProcessor  (2 usages found)
                          createDeploymentSubModel(PathAddress, DeploymentUnit)  (2 usages found)
                              128 final Resource root = unit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                              130 final ManagementResourceRegistration registration = unit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
              wildfly-metrics  (2 usages found)
                  org.wildfly.extension.metrics.deployment  (2 usages found)
                      DeploymentMetricProcessor  (2 usages found)
                          deploy(DeploymentPhaseContext)  (2 usages found)
                              40 rootResource = deploymentUnit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE);
                              41 managementResourceRegistration = deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT);
              wildfly-micrometer  (2 usages found)
                  org.wildfly.extension.micrometer  (2 usages found)
                      MicrometerDeploymentProcessor  (2 usages found)
                          deploy(DeploymentPhaseContext)  (2 usages found)
                              46 deploymentUnit.getAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE),
                              47 deploymentUnit.getAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT),
          Usage in import  (9 usages found)
              wildfly-connector  (3 usages found)
                  org.jboss.as.connector.deployers.ds.processors  (1 usage found)
                      DsXmlDeploymentInstallProcessor  (1 usage found)
                          47 import org.jboss.as.server.deployment.DeploymentModelUtils;
                  org.jboss.as.connector.deployers.ra.processors  (2 usages found)
                      ParsedRaDeploymentProcessor  (1 usage found)
                          35 import org.jboss.as.server.deployment.DeploymentModelUtils;
                      RaXmlDeploymentProcessor  (1 usage found)
                          22 import org.jboss.as.server.deployment.DeploymentModelUtils;
              wildfly-ejb3  (1 usage found)
                  org.jboss.as.ejb3.deployment.processors  (1 usage found)
                      EjbManagementDeploymentUnitProcessor  (1 usage found)
                          9 import static org.jboss.as.server.deployment.DeploymentModelUtils.DEPLOYMENT_RESOURCE;
              wildfly-jpa  (2 usages found)
                  org.jboss.as.jpa.processor  (1 usage found)
                      PersistenceUnitServiceHandler  (1 usage found)
                          68 import org.jboss.as.server.deployment.DeploymentModelUtils;
                  org.jboss.as.jpa.service  (1 usage found)
                      JPAService  (1 usage found)
                          30 import org.jboss.as.server.deployment.DeploymentModelUtils;
              wildfly-messaging-activemq-subsystem  (1 usage found)
                  org.wildfly.extension.messaging.activemq.deployment  (1 usage found)
                      MessagingXmlInstallDeploymentUnitProcessor  (1 usage found)
                          25 import org.jboss.as.server.deployment.DeploymentModelUtils;
              wildfly-metrics  (1 usage found)
                  org.wildfly.extension.metrics.deployment  (1 usage found)
                      DeploymentMetricProcessor  (1 usage found)
                          13 import org.jboss.as.server.deployment.DeploymentModelUtils;
              wildfly-micrometer  (1 usage found)
                  org.wildfly.extension.micrometer  (1 usage found)
                      MicrometerDeploymentProcessor  (1 usage found)
                          19 import org.jboss.as.server.deployment.DeploymentModelUtils;
      

          There are no Sub-Tasks for this issue.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: