org.springframework.expression

## Interface TypeLocator

- All Known Implementing Classes:
    StandardTypeLocator

      public interface TypeLocator

  Implementers of this interface are expected to be able to locate types. They may use a custom `ClassLoader` and/or deal with common package prefixes (e.g. `java.lang`) however they wish.

  See `StandardTypeLocator` for an example implementation.

  Since:
    3.0
  Author:
    Andy Clement

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<?>` | `findType(String typeName)` Find a type by name.

- - ### Method Detail

    - #### findType

          Class<?> findType(String typeName)
                     throws EvaluationException

      Find a type by name. The name may or may not be fully qualified (e.g. `String` or `java.lang.String`).
      Parameters:
        `typeName` - the type to be located
      Returns:
        the `Class` object representing that type
      Throws:
        `EvaluationException` - if there is a problem finding the type