com.sun.identity.policy.interfaces
インタフェース 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

関連項目:
PolicyEvaluator.addPolicyListener(PolicyListener)

メソッドの概要
 String getServiceTypeName()
          Returns 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

String getServiceTypeName()
Returns the service type name for which this listener wants to get notifications

戻り値:
String representing the service type name.

policyChanged

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 serviceTypeName of this listener

パラメータ:
policyEvent - event object sent by the policy framework
関連項目:
PolicyEvent