JBoss.org Community Documentation

4.3.1. @Replicable annotation

The @org.jboss.cache.annotation.Replicable annotation is used to mark classes for instrumentation. Once instrumented, individual field changes can be replicated separately. See the instrumentation chapter for more information on this process.

The following example will replicate changes to resource and name separately:

public class Gadget
   private Resource resource;
   private String name;