Class SyncManagerImpl
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
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 Summary
ConstructorsConstructorDescriptionDefault constructor used by OSGiSyncManagerImpl
(Whiteboard whiteboard) Constructor used by non OSGi -
Method Summary
Modifier and TypeMethodDescriptiongetSyncHandler
(@NotNull String name) Returns the sync handler with the given name.Methods inherited from class org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker
getServices, start, stop
-
Constructor Details
-
SyncManagerImpl
public SyncManagerImpl()Default constructor used by OSGi -
SyncManagerImpl
Constructor used by non OSGi- Parameters:
whiteboard
- the whiteboard
-
-
Method Details
-
getSyncHandler
Description copied from interface:SyncManager
Returns the sync handler with the given name.- Specified by:
getSyncHandler
in interfaceSyncManager
- Parameters:
name
- the name of the sync handler ornull
- Returns:
- the sync handler
-