Class ExamplePostProcessor

  • All Implemented Interfaces:
    PostProcessor

    public class ExamplePostProcessor
    extends Object
    implements PostProcessor
    This is example that implements PostProcessor
    • Constructor Detail

      • ExamplePostProcessor

        public ExamplePostProcessor()
    • Method Detail

      • init

        public void init​(Properties securityProps)
        Description copied from interface: PostProcessor
        Given the security props of the server, properly initialize the post processor for the server. Initialized at cache creation
        Specified by:
        init in interface PostProcessor
        Parameters:
        securityProps - security properties
      • processRegionValue

        public Object processRegionValue​(Object principal,
                                         String regionName,
                                         Object key,
                                         Object value)
        This simply modifies the value with all the parameter values
        Specified by:
        processRegionValue in interface PostProcessor
        Parameters:
        principal - The principal that's accessing the value
        regionName - The region that's been accessed. This could be null.
        key - the key of the value that's been accessed. This could be null.
        value - the value, this could be null.
        Returns:
        the processed value