@Service public class SyncManagerImpl extends org.apache.jackrabbit.oak.spi.whiteboard.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 and Description |
|---|
SyncManagerImpl()
Default constructor used by OSGi
|
SyncManagerImpl(org.apache.jackrabbit.oak.spi.whiteboard.Whiteboard whiteboard)
Constructor used by non OSGi
|
| Modifier and Type | Method and Description |
|---|---|
SyncHandler |
getSyncHandler(String name)
Returns the sync handler with the given name.
|
public SyncManagerImpl()
public SyncManagerImpl(org.apache.jackrabbit.oak.spi.whiteboard.Whiteboard whiteboard)
whiteboard - the whiteboardpublic SyncHandler getSyncHandler(@Nonnull String name)
SyncManagergetSyncHandler in interface SyncManagername - the name of the sync handler or nullCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.