org.eclipse.persistence.config
Interface DescriptorCustomizer
- All Known Subinterfaces:
- DescriptorCustomizer
public interface DescriptorCustomizer
Customize a ClassDescriptor
when the
customize(ClassDescriptor)
method is called during the
loading/population of the mappings. This is typically used to customize
dynamically or specify configuration values not available through annotations
or XML.
- See Also:
@Customizer to configure using annotations on an entity class
,
{@link ClassDescriptor} for available customization API
customize
void customize(ClassDescriptor descriptor)
throws java.lang.Exception
- Customize the provided descriptor. This method is called after the
descriptor is populated form annotations/XML/defaults but before it is
initialized.
- Throws:
java.lang.Exception