Interface EntityInspector

All Known Implementing Classes:
EntityInspectorImpl

@Contract public interface EntityInspector
Responsible for inspecting entity classes. This class invokes all available entity processors with different contexts.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    inspect(Class<?> entityClass, boolean forWriter)
    Inspect entity class and create/update EntityGraph for reader/writer.
  • Method Details

    • inspect

      void inspect(Class<?> entityClass, boolean forWriter)
      Inspect entity class and create/update EntityGraph for reader/writer. The entity graph will be used to create entity-filtering object which is requested by #createFilteringObject(...).

      Method recursively inspects entity fields classes suitable for inspecting.

      Method uses EntityProcessors for inspecting.

      Parameters:
      entityClass - entity class to be examined.
      forWriter - flag determining whether the class should be examined for reader or writer.