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

DeploymentPhaseContext.getServiceTarget() should return object capable of resolving capability requirements

XMLWordPrintable

      It's a bit silly that we have capability resolution functionality from the object returned via OperationContext.getCapabilityServiceTarget() but we do not have a similar facility available from DeploymentPhaseContext.

      Ideally, we should extract a sub-interface of CapabilityServiceBuilder containing the capability-related requires(...) methods, which should resolve ServiceNames via the CapabilityServiceSupport object.
      This should simplify the process for creating services within a DeploymentUnitProcessor.

              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: