public class CachedSMSEntry extends Object implements SMSEventListener
CachedSchemaManagerImpl
provides interfaces to
manage the SMSEntry. It caches SMSEntries which is used by ServiceSchema and
ServiceConfig classes.Modifier and Type | Field and Description |
---|---|
protected Set |
principals |
protected SMSEntry |
smsEntry |
protected SSOToken |
token |
Modifier and Type | Method and Description |
---|---|
protected void |
addServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
Method to add objects that needs notifications
|
SMSEntry |
getClonedSMSEntry() |
static CachedSMSEntry |
getInstance(SSOToken t,
String dn) |
SMSEntry |
getSMSEntry() |
boolean |
isDirty() |
void |
notifySMSEvent(org.forgerock.opendj.ldap.DN dn,
int event)
Called when an SMS event occurs to the requested object.
|
void |
refresh()
Reads the attributes from the datastore and send notifications to
objects caching this entry.
|
protected void |
removeServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
Method to remove objects that needs notifications
|
protected Set principals
protected SSOToken token
protected SMSEntry smsEntry
public boolean isDirty()
public void refresh()
protected void addServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
protected void removeServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
public SMSEntry getSMSEntry()
public SMSEntry getClonedSMSEntry()
public static CachedSMSEntry getInstance(SSOToken t, String dn) throws SMSException, SSOException
SMSException
SSOException
public void notifySMSEvent(org.forgerock.opendj.ldap.DN dn, int event)
SMSEventListener
notifySMSEvent
in interface SMSEventListener
dn
- The DN of the object that the event has occurred for.event
- The event that has occurred.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.