EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

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

Method Summary
 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 form annotations/XML/defaults but before it is initialized.

Throws:
java.lang.Exception

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference