Interface TypeBinder<A extends Annotation>

    • Method Detail

      • bind

        void bind​(A annotation,
                  MetadataBuildingContext buildingContext,
                  PersistentClass persistentClass)
        Perform some custom configuration of the model relating to the given annotated entity class.
        Parameters:
        annotation - an annotation of the entity class that is declared as an TypeBinderType
        persistentClass - the entity class
      • bind

        void bind​(A annotation,
                  MetadataBuildingContext buildingContext,
                  Component embeddableClass)
        Perform some custom configuration of the model relating to the given annotated embeddable class.
        Parameters:
        annotation - an annotation of the embeddable class that is declared as an TypeBinderType
        embeddableClass - the embeddable class