Class ResultsCacheUtil


  • public class ResultsCacheUtil
    extends Object
    This class provides a bridge between the end point on policy client that is listening for notifications from policy service and policy client cache.
    • Constructor Detail

      • ResultsCacheUtil

        public ResultsCacheUtil()
    • Method Detail

      • processNotification

        public static void processNotification​(String xml)
                                        throws PolicyEvaluationException
        Processes notifications forwarded from the endpoint on policy client that is listening for notifications from policy service
        Parameters:
        xml - XML notification envelope
        Throws:
        PolicyEvaluationException
      • processRESTNotification

        public static void processRESTNotification​(String message)
                                            throws PolicyEvaluationException
        Processes REST notifications forwarded from the endpoint on policy client that is listening for notifications from policy service
        Parameters:
        message - notification as JSON string
        Throws:
        PolicyEvaluationException