com.sun.identity.policy
Class PolicyEvent

java.lang.Object
  |
  +--com.sun.identity.policy.PolicyEvent

public class PolicyEvent
extends java.lang.Object

Class to represent policy change events, used by policy framework to notify interested listeners

See Also:
PolicyListener

Field Summary
static int POLICY_ADDED
          constant to indicate change type policy added
static int POLICY_MODIFIED
          constant to indicate change type policy modified
static int POLICY_REMOVED
          constant to indicate change type policy removed
 
Method Summary
 int getChangeType()
          Gets the change type
 java.util.Set getResourceNames()
          Gets the resource names affected by the policy change
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POLICY_ADDED

public static final int POLICY_ADDED
constant to indicate change type policy added

POLICY_MODIFIED

public static final int POLICY_MODIFIED
constant to indicate change type policy modified

POLICY_REMOVED

public static final int POLICY_REMOVED
constant to indicate change type policy removed
Method Detail

getResourceNames

public java.util.Set getResourceNames()
Gets the resource names affected by the policy change
Returns:
names of the resources affected by the policy change

getChangeType

public int getChangeType()
Gets the change type
Returns:
change type