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
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 Summary
Constructors Constructor Description SyncManagerImpl()
Default constructor used by OSGiSyncManagerImpl(Whiteboard whiteboard)
Constructor used by non OSGi
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncHandler
getSyncHandler(@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 Detail
-
SyncManagerImpl
public SyncManagerImpl()
Default constructor used by OSGi
-
SyncManagerImpl
public SyncManagerImpl(Whiteboard whiteboard)
Constructor used by non OSGi- Parameters:
whiteboard
- the whiteboard
-
-
Method Detail
-
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 interfaceSyncManager
- Parameters:
name
- the name of the sync handler ornull
- Returns:
- the sync handler
-
-