Class ServiceFailurePolicyBuilder

    • Constructor Detail

      • ServiceFailurePolicyBuilder

        public ServiceFailurePolicyBuilder​(int nPolicy)
        Create Defaults.
        Parameters:
        nPolicy - one of DefaultServiceFailurePolicy.POLICY_EXIT_CLUSTER, DefaultServiceFailurePolicy.POLICY_EXIT_PROCESS or DefaultServiceFailurePolicy.POLICY_LOGGING
      • ServiceFailurePolicyBuilder

        public ServiceFailurePolicyBuilder​(String sPolicy,
                                           XmlElement xmlConfig)
        Default ServiceFailurePolicy from Xml value in configuration <service-failure-policy>.
        Parameters:
        sPolicy - default ServiceFailurePolicy DefaultServiceFailurePolicy
        xmlConfig - optional configuration element for reporting configuration error.