Interface ServiceDescriptor<T>

    • Method Detail

      • getName

        String getName()
        Returns the name of this described service.
        Returns:
        the name of this described service.
      • getType

        Class<T> getType()
        Returns the provided value type of this described service.
        Returns:
        the provided value type of this described service.
      • asType

        <U extends TServiceDescriptor<U> asType​(Class<U> type)
        Returns a sub-class view of this service descriptor.
        Type Parameters:
        U - the subclass type
        Parameters:
        type - a sub-class of this descriptor's type
        Returns:
        a sub-class view of this service descriptor.