Class PolicyEvent

java.lang.Object
com.sun.identity.policy.PolicyEvent

@SupportedAll @Deprecated public class PolicyEvent extends Object
Deprecated.
As of OpenSSO Express 8.0, use com.sun.identity.entitlement instead as Entitlement has replaced Policy.
Class to represent policy change events, used by policy framework to notify interested listeners
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    constant to indicate change type policy added
    static final int
    Deprecated.
    constant to indicate change type policy modified
    static final int
    Deprecated.
    constant to indicate change type policy removed
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated.
    Gets the change type The change type gives the type of policy change that triggered this event indicating whether a policy was added, modified or removed.
    Deprecated.
    Gets the resource names affected by the policy change.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • POLICY_ADDED

      public static final int POLICY_ADDED
      Deprecated.
      constant to indicate change type policy added
      See Also:
    • POLICY_MODIFIED

      public static final int POLICY_MODIFIED
      Deprecated.
      constant to indicate change type policy modified
      See Also:
    • POLICY_REMOVED

      public static final int POLICY_REMOVED
      Deprecated.
      constant to indicate change type policy removed
      See Also:
  • Method Details

    • getResourceNames

      public Set getResourceNames()
      Deprecated.
      Gets the resource names affected by the policy change. This indicates that policy decisions for the affected resource names would likely be different from those computed before the change.
      Returns:
      names of the resources affected by the policy change.
    • getChangeType

      public int getChangeType()
      Deprecated.
      Gets the change type The change type gives the type of policy change that triggered this event indicating whether a policy was added, modified or removed. This change type does not indicate whether resource(s) were added, modified or removed.
      Returns:
      change type