[CST-12752] updated javadoc of new method

This commit is contained in:
mohamed eskander
2023-11-22 18:15:36 +02:00
parent dcdfa9a6fc
commit c514fc7430

View File

@@ -77,14 +77,11 @@ public interface ServiceManager {
public List<String> getServicesNames(); public List<String> getServicesNames();
/** /**
* Allows developers to get the desired service singleton by the provided type. <br> * Get the names of all registered service singletons. By
* This should return all instantiated objects of the type specified with their names * convention, the name typically matches the fully qualified class
* (may not all be singletons). * name).
* *
* @param <T> Class type * @return the list of all current registered services
* @param type the type for the requested service (this will typically be the interface class but can be concrete
* as well)
* @return map with service's name and service singletons
*/ */
public <T> Map<String, T> getServicesWithNamesByType(Class<T> type); public <T> Map<String, T> getServicesWithNamesByType(Class<T> type);