OwnableService is deprecated in ACS

cancel
Showing results for 
Search instead for 
Did you mean: 
kintu_barot
Senior Member

OwnableService is deprecated in ACS

I need to use the OwnableService (java) in ACS customization but the service is deprecated in sdk 4.1 (or may be in old one as well).

What is the alternative to OwnableService to set/change the owner of the node in java?

Please, suggest.

Thanks

 

Regards,
Kintu
1 Reply
afaust
Master

Re: OwnableService is deprecated in ACS

The OwnableService itself is NOT deprecated. The only thing that is deprecated is the ServiceRegistry.getOwnableService() method to retrieve the service. The JavaDoc explicitly reads "The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future."