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

ServiceRegistry lookup of legacy SingletonServiceBuilderFactory throws UnsupportedOperationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 14.0.0.Final
    • 14.0.0.Beta2
    • Clustering
    • None

      Legacy code will lookup a SingletonPolicy or SingletonServiceBuilderFactory using the deprecated ServiceController.awaitValue() or getValue() methods. Services installed using the new MSC service installation API will throw an UnsupportedOperationException in this case. Consequently, the services providing the legacy implementations of these deprecated APIs need to be installed using the deprecated MSC API to prevent migrated applications from unexpected UnsupportedOperationExceptions.

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

              Created:
              Updated:
              Resolved: