Radoslav Husar created WFLY-11837:
-------------------------------------
Summary: Update ha-singleton-service quickstart to use non-deprecated API
Key: WFLY-11837
URL:
https://issues.jboss.org/browse/WFLY-11837
Project: WildFly
Issue Type: Task
Components: Clustering, Quickstarts
Affects Versions: 16.0.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
{code}
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[21,29]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[21,29]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[25,27]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[20,29]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[25,27]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[29,40]
org.wildfly.clustering.singleton.SingletonPolicy in org.wildfly.clustering.singleton has
been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[40,34]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/QueryingService.java:[56,36]
awaitValue(long,java.util.concurrent.TimeUnit) in org.jboss.msc.service.ServiceController
has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[36,35]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[40,13]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[42,22]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[48,87]
getLocalNode() in org.wildfly.clustering.group.Group has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[53,87]
getLocalNode() in org.wildfly.clustering.group.Group has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/SingletonService.java:[58,37]
getLocalNode() in org.wildfly.clustering.group.Group has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[50,13]
org.wildfly.clustering.singleton.SingletonPolicy in org.wildfly.clustering.singleton has
been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[50,39]
org.wildfly.clustering.singleton.SingletonPolicy in org.wildfly.clustering.singleton has
been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[52,86]
SINGLETON_POLICY in org.wildfly.clustering.singleton.SingletonDefaultRequirement has been
deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[53,21]
awaitValue() in org.jboss.msc.service.ServiceController has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[55,13]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[55,46]
org.jboss.msc.value.InjectedValue in org.jboss.msc.value has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[57,13]
org.jboss.msc.service.Service in org.jboss.msc.service has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[59,19]
<T>createSingletonServiceBuilder(org.jboss.msc.service.ServiceName,org.jboss.msc.service.Service<T>)
in org.wildfly.clustering.singleton.SingletonPolicy has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[61,21]
<I>addDependency(org.jboss.msc.service.ServiceName,java.lang.Class<I>,org.jboss.msc.inject.Injector<I>)
in org.jboss.msc.service.ServiceBuilder has been deprecated
[WARNING]
/Users/rhusar/git/wildfly-quickstarts/ha-singleton-service/src/main/java/org/jboss/as/quickstarts/ha/singleton/service/ServiceActivator.java:[65,21]
<T>addService(org.jboss.msc.service.ServiceName,org.jboss.msc.service.Service<T>)
in org.jboss.msc.service.ServiceTarget has been deprecated
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)