6.3.3. Register the Advanced Externalizer (Declaratively)
After the advanced externalizer is set up, register it for use with Red Hat JBoss Data Grid. This registration is done declaratively (via XML) as follows:
Procedure 6.1. Register the Advanced Externalizer
- Add the
globalelement to theinfinispanelement:<infinispan> <global /> </infinispan>
<infinispan> <global /> </infinispan>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
serializationelement to theglobalelement as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
advancedExternalizerselement to add information about the new advanced externalizer as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Define the externalizer class using the
externalizerClassattribute as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the $IdViaAnnotationObj and $AdvancedExternalizer values as required.