Package org.hibernate.type.spi
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 implementsTypeConfigurationAware
may not be scoped to more than oneTypeConfiguration
. The methodgetTypeConfiguration()
allows this rule to be enforced.
-
Method Summary
-
Method Details
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration() -
setTypeConfiguration
-