Example usage for org.springframework.core ParameterizedTypeReference subclass-usage

List of usage examples for org.springframework.core ParameterizedTypeReference subclass-usage

Introduction

In this page you can find the example usage for org.springframework.core ParameterizedTypeReference subclass-usage.

Usage

From source file org.openlmis.fulfillment.util.BaseParameterizedTypeReference.java

/**
 * Extension of {@link ParameterizedTypeReference} from Spring that allows dynamically changing
 * the type it represents at runtime. Since generic hacks are generally ugly, so is this class.
 * It eases the usage of the rest template however, allowing easily retrieving objects with the
 * provided generic type at runtime.
 */