]
Radoslav Husar updated WFLY-10907:
----------------------------------
Git Pull Request:
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
Fix For: 14.0.0.Final
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.