此内容没有您所选择的语言版本。
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
global
element to theinfinispan
element:<infinispan> <global /> </infinispan>
<infinispan> <global /> </infinispan>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
serialization
element to theglobal
element as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
advancedExternalizers
element 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
externalizerClass
attribute as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace the $IdViaAnnotationObj and $AdvancedExternalizer values as required.