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

WSEndpointDeploymentUnit should implement a WS-specific interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Web Services
    • None

      WSEndpointDeploymentUnit implements the DeploymentUnit interface, but not really. A bunch of methods throw UnsupportedOperationException.

      This tells me it's using that interface as a minor short-cut, not because it's truly meant to be a DeploymentUnit impl.

      This is the only impl of this interface outside of WFCORE, and having it here makes it harder to evolve the interface.

      The WS subsystem code should use its own interface (e.g. as a param to WSDeploymentBuilder.build()), and for the call paths that want to use the DeploymentUnit from WFCORE, wrap the DU in an impl of this WS interface and delegate to it.

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

                Created:
                Updated:
                Resolved: