Class CachedSMSEntry

  • All Implemented Interfaces:
    SMSEventListener

    public class CachedSMSEntry
    extends Object
    implements SMSEventListener
    The class CachedSchemaManagerImpl provides interfaces to manage the SMSEntry. It caches SMSEntries which is used by ServiceSchema and ServiceConfig classes.
    • Field Detail

      • principals

        protected Set principals
    • 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()
      • notifySMSEvent

        public void notifySMSEvent​(org.forgerock.opendj.ldap.DN dn,
                                   int event)
        Description copied from interface: SMSEventListener
        Called when an SMS event occurs to the requested object.
        Specified by:
        notifySMSEvent in interface SMSEventListener
        Parameters:
        dn - The DN of the object that the event has occurred for.
        event - The event that has occurred.