public class PolicyListenerRequest extends Object implements PolicyListener
PolicyListenerRequest
class represents an
AddPolicyListener XML document. The AddPolicyListener DTD is
defined as the following:
Constructor and Description |
---|
PolicyListenerRequest()
Default constructor for
PolicyListenerRequest |
Modifier and Type | Method and Description |
---|---|
String |
getNotificationURL()
Returns the notification URL to which the notification is sent.
|
String |
getServiceName()
Returns the service name on which this listener listens.
|
String |
getServiceTypeName()
Returns the service name on which the listener listens.
|
static PolicyListenerRequest |
parseXML(Node pNode)
Returns
PolicyListenerRequest object constructed from
a XML. |
void |
policyChanged(PolicyEvent evt)
Handles policy change event.
|
void |
setNotificationURL(String url)
Sets the notification URL to which the notification is sent.
|
void |
setServiceName(String name)
Sets the service name on which this listener listens
|
String |
toXMLString()
Returns a XML representation of this object.
|
public PolicyListenerRequest()
PolicyListenerRequest
public String getServiceName()
public void setServiceName(String name)
name
- Service name.public String getNotificationURL()
public void setNotificationURL(String url)
url
- the notification URL.public static PolicyListenerRequest parseXML(Node pNode) throws PolicyEvaluationException
PolicyListenerRequest
object constructed from
a XML.pNode
- the XML DOM node for the PolicyListenerRequest
object.PolicyListenerRequest
object.PolicyEvaluationException
public String toXMLString()
public String getServiceTypeName()
getServiceTypeName
in interface PolicyListener
public void policyChanged(PolicyEvent evt)
policyChanged
in interface PolicyListener
evt
- the policy event regarding the policy change.PolicyEvent
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.