Javadoc
Looks at all service items that match the specified template, and for every service item
finds the most specific type (class or interface) or types the service item is an instance of
that are neither equal to, nor a superclass of, any of the service types in the template and
that have names that start with the specified prefix, and returns the set of all such types.
Duplicate types are eliminated, and the order of types within the returned array is
arbitrary. Null (not an empty array) is returned if there are no such types. If a returned
type cannot be deserialized, that element of the returned array is set to null and no
exception is thrown.