Package org.apache.tapestry5.commons.services

## Class GenericsResolver.Provider

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

- Enclosing interface:
    GenericsResolver

      public static final class GenericsResolver.Provider
      extends java.lang.Object

  Convenience class for getting a `GenericsResolver` instance.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Provider()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | 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.