org.apache.tapestry5.services

## Class GenericsResolver.Provider

- java.lang.Object
- - org.apache.tapestry5.services.GenericsResolver.Provider

- Enclosing interface:
    GenericsResolver

      public static final class GenericsResolver.Provider
      extends Object

  Convenience class for getting a `GenericsResolver` instance.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Provider()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GenericsResolver` | `getInstance()` Returns a cached GenericsResolver instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Provider

          public Provider()

  - ### Method Detail

    - #### getInstance

          public static GenericsResolver getInstance()

      Returns a cached GenericsResolver instance. If `ServiceLoader` finds one instance, it returns the first one found. If not, it returns `GenericsResolverImpl`.
      Returns:
        a `GenericsResolver` instance.

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.