public class PolicyDecisionCacheListener extends Object implements PolicyListener
PolicyDecisionCacheListener
implements
PolicyListener interface. It listens on for changes in the
policies as sent out by the policy framework and cleans up the
policy decision cache for affected resources.Constructor and Description |
---|
PolicyDecisionCacheListener(String serviceName)
Constructor of
PolicyDecisionCacheListener |
Modifier and Type | Method and Description |
---|---|
String |
getServiceTypeName()
The implementation for the PolicyListener interface method
gets the service name on which the listener listens.
|
void |
policyChanged(PolicyEvent evt)
This is the callback implementation for the PolicyListener
which gets called when a policy changes.
|
void |
setServiceTypeName(String name)
Sets the service name on which this listener listens
|
public PolicyDecisionCacheListener(String serviceName)
PolicyDecisionCacheListener
serviceName
- name of the service for which this object is being
created.public void setServiceTypeName(String name)
name
- the service namepublic String getServiceTypeName()
getServiceTypeName
in interface PolicyListener
public void policyChanged(PolicyEvent evt)
policyChanged
in interface PolicyListener
evt
- PolicyEvent
indicating the resource
names which got affected.PolicyEvent
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.