java.lang.Object
org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<SyncHandler>
org.apache.jackrabbit.oak.spi.security.authentication.external.impl.SyncManagerImpl
All Implemented Interfaces:
SyncManager

public class SyncManagerImpl extends AbstractServiceTracker<SyncHandler> implements SyncManager
SyncManagerImpl is used to manage registered sync handlers. This class automatically tracks the SyncHandlers that are registered via OSGi but can also be used in non-OSGi environments by manually adding and removing the handlers.
  • Constructor Details

    • SyncManagerImpl

      public SyncManagerImpl()
      Default constructor used by OSGi
    • SyncManagerImpl

      public SyncManagerImpl(Whiteboard whiteboard)
      Constructor used by non OSGi
      Parameters:
      whiteboard - the whiteboard
  • Method Details

    • getSyncHandler

      public SyncHandler getSyncHandler(@NotNull @NotNull String name)
      Description copied from interface: SyncManager
      Returns the sync handler with the given name.
      Specified by:
      getSyncHandler in interface SyncManager
      Parameters:
      name - the name of the sync handler or null
      Returns:
      the sync handler