The class pattern strings used to configure the ReflectionBasedAutoSerializer
are standard regular expressions. For example, the following expression would select all classes defined in the package and its sub-packages from the packages:
io.pivotal.gemfire.sample io.pivotal.pdx.patterns.sample <pdx> <pdx-serializer> <class-name> com.gemstone.gemfire.pdx.ReflectionBasedAutoSerializer </class-name> <parameter name="classes"> <string>io\.pivotal\.gemfire\..*,io\.pivotal\.*\.patterns\.sample..*</string> </parameter> </pdx-serializer> </pdx>
Note
Environment
Product | Version |
Pivotal GemFire | 7.0.1.x,7.0.2.x, 8.0.0.x, 8.1.0.x,8.2.0.x,8.2.1.x |