Interface TypeConfigurationAware

  • All Known Implementing Classes:
    EnumType, UserTypeLegacyBridge, UserTypeSupport

    public interface TypeConfigurationAware
    Optional contract for a Type which is aware of its scoping to a TypeConfiguration and which receives access to the TypeConfiguration to which it is scoped.

    For additional information about scoping, see TypeConfiguration.

    API Note:
    A Type which implements TypeConfigurationAware may not be scoped to more than one TypeConfiguration. The method getTypeConfiguration() allows this rule to be enforced.