Class TypeProfileFactory

java.lang.Object
com.blackrook.archetext.struct.TypeProfileFactory

public class TypeProfileFactory extends Object
A factory that produces type profiles for POJOs and data objects.
Author:
Matthew Tropiano
  • Method Details

    • getProfile

      public <T> TypeProfileFactory.Profile<T> getProfile(Class<T> clazz)
      Creates a new profile for a provided type. Generated profiles are stored in memory, and retrieved again by class type.

      This method is thread-safe.

      Type Parameters:
      T - the class type.
      Parameters:
      clazz - the class.
      Returns:
      a new profile.