public <T> T getServiceProviderByClass (Class<T> providerClass)

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.

Parameters:
providerClass    the Class of the desired service provider object.
<T>    the type of the provider.

Returns:  a currently registered service provider object with the desired Classtype, or null is none is present.

Exceptions:
IllegalArgumentException    if providerClass is null.