Package org.eclipse.persistence.config
Interface DescriptorCustomizer
-
- All Known Subinterfaces:
DescriptorCustomizer
public interface DescriptorCustomizer
Customize aClassDescriptor
when thecustomize(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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(ClassDescriptor descriptor)
Customize the provided descriptor.
-
-
-
Method Detail
-
customize
void customize(ClassDescriptor descriptor) throws java.lang.Exception
Customize the provided descriptor. This method is called after the descriptor is populated from annotations/XML/defaults but before it is initialized.- Throws:
java.lang.Exception
-
-