@Service public class SyncManagerImpl extends AbstractServiceTracker<SyncHandler> implements SyncManager
SyncManagerImplis 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|
Default constructor used by OSGi
Constructor used by non OSGi
|Modifier and Type||Method and Description|
Returns the sync handler with the given name.
getServices, start, stop
public SyncManagerImpl(Whiteboard whiteboard)
whiteboard- the whiteboard
public SyncHandler getSyncHandler(@NotNull @NotNull String name)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.