com.sun.identity.policy.interfaces
Interface  PolicyListener
- public interface PolicyListener
The interface PolicyListener defines an interface 
 for listeners that would register with policy framework 
 to receive notifications whenever a policy is added, removed 
 or changed
- See Also: 
- PolicyEvaluator.addPolicyListener(PolicyListener)
| Method Summary | 
|  java.lang.String | getServiceTypeName()Gets the service type name for which this listener wants to get
  notifications
 | 
|  void | policyChanged(PolicyEvent policyEvent)This method is called by the policy framework whenever 
  a policy is added, removed or changed.
 | 
 
getServiceTypeName
public java.lang.String getServiceTypeName()
- Gets the service type name for which this listener wants to get
  notifications
policyChanged
public void policyChanged(PolicyEvent policyEvent)
- This method is called by the policy framework whenever 
  a policy is added, removed or changed. The notification
  is sent only if the policy has any rule that has the 
  serviceTypeNameof this listener
- 
- Parameters:
- policyEvent- event object sent by the policy framework
- See Also: 
- PolicyEvent
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.