Package com.sun.identity.sm
Class CachedSMSEntry
- java.lang.Object
-
- com.sun.identity.sm.CachedSMSEntry
-
- All Implemented Interfaces:
SMSEventListener
public class CachedSMSEntry extends Object implements SMSEventListener
The classCachedSchemaManagerImplprovides interfaces to manage the SMSEntry. It caches SMSEntries which is used by ServiceSchema and ServiceConfig classes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)Method to add objects that needs notificationsSMSEntrygetClonedSMSEntry()static CachedSMSEntrygetInstance(SSOToken t, String dn)SMSEntrygetSMSEntry()booleanisDirty()voidnotifySMSEvent(org.forgerock.opendj.ldap.DN dn, int event)Called when an SMS event occurs to the requested object.voidrefresh()Reads the attributes from the datastore and send notifications to objects caching this entry.protected voidremoveServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)Method to remove objects that needs notifications
-
-
-
Method Detail
-
isDirty
public boolean isDirty()
-
refresh
public void refresh()
Reads the attributes from the datastore and send notifications to objects caching this entry. Used by JAXRPCObjectImpl
-
addServiceListener
protected void addServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
Method to add objects that needs notifications
-
removeServiceListener
protected void removeServiceListener(com.sun.identity.sm.CachedSMSEntry.SMSEntryUpdateListener updateListener)
Method to remove objects that needs notifications
-
getSMSEntry
public SMSEntry getSMSEntry()
-
getClonedSMSEntry
public SMSEntry getClonedSMSEntry()
-
getInstance
public static CachedSMSEntry getInstance(SSOToken t, String dn) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
notifySMSEvent
public void notifySMSEvent(org.forgerock.opendj.ldap.DN dn, int event)Description copied from interface:SMSEventListenerCalled when an SMS event occurs to the requested object.- Specified by:
notifySMSEventin interfaceSMSEventListener- Parameters:
dn- The DN of the object that the event has occurred for.event- The event that has occurred.
-
-