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 Object
Convenience class for getting a `GenericsResolver` instance.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Provider()`

- ## Method Summary

  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 Details

  - ### Provider

    public Provider()

- ## Method Details

  - ### 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.