[jboss-jira] [JBoss JIRA] (WFLY-10907) ServiceRegistry lookup of legacy SingletonServiceBuilderFactory throws UnsupportedOperationException

Paul Ferraro (JIRA) issues at jboss.org
Wed Aug 22 14:44:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-10907:
--------------------------------
    Description: 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.  (was: Legacy code will lookup a SingletonPolicy or SingletonServiceBuilderFactory using the deprecated ServiceController.awaitValue() or getValue().  This service needs to be installed using the deprecated MSC API, to prevent an UnsupportedOperationException.)


> ServiceRegistry lookup of legacy SingletonServiceBuilderFactory throws UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-10907
>                 URL: https://issues.jboss.org/browse/WFLY-10907
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 14.0.0.Beta2
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Critical
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list