Returns the currently registered service provider object that
is of the given class type. At most one object of a given
class is allowed to be registered at any given time. If no
registered object has the desired class type, null
is returned.
providerClass | the Class of the desired
service provider object. | |
<T> | the type of the provider. |
Class
type, or null
is none is
present.
IllegalArgumentException | if providerClass is
null . |
Diagram: ServiceRegistry