Class AbstractPolicyManager<T extends PolicyFilter>

    • Constructor Detail

      • AbstractPolicyManager

        public AbstractPolicyManager()
    • Method Detail

      • addPolicyFilter

        public void addPolicyFilter​(T pf)
        Add the given PolicyFilter.
        Parameters:
        pf - the PolicyFilter to be added
      • removePolicyFilter

        public void removePolicyFilter​(T pf)
        Remove the given PolicyFilter.
        Parameters:
        pf - the PolicyFilter to be added
      • replacePolicyFilter

        public void replacePolicyFilter​(T pfToRemoved,
                                        T pfToAdd)
        Replace the given PolicyFilter.
        Parameters:
        pfToRemoved - the PolicyFilter to be removed
        pfToAdd - the PolicyFilter to be added
      • getPolicyFilters

        protected java.util.Set<T> getPolicyFilters()
        Returns the set of PolicyFilters.
        Returns:
        Set of PolicyFilters
      • getPolicyFiltersMap

        protected java.util.Map<java.lang.String,​? extends java.util.Set<T>> getPolicyFiltersMap()
      • getStatusXmlTagName

        protected abstract java.lang.String getStatusXmlTagName()
      • handleException

        protected void handleException​(java.lang.Exception ex,
                                       PolicyFilter pf)
        Handles exception that are not caught by policy filters.
        Parameters:
        ex - the thrown Exception
        pf - the PolicyFilter