Class AbstractServiceTracker<T>
java.lang.Object
org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<T>
- Direct Known Subclasses:
DynamicMembershipTracker
,ExternalIDPManagerImpl
,GCMonitorTracker
,JournalPropertyHandlerFactory
,SyncManagerImpl
,WhiteboardAuthorizableActionProvider
,WhiteboardAuthorizableNodeName
,WhiteboardEditorProvider
,WhiteboardExecutor
,WhiteboardIndexEditorProvider
,WhiteboardIndexProvider
,WhiteboardRestrictionProvider
,WhiteboardUserAuthenticationFactory
AbstractServiceTracker
is a base class for composite components
that dynamically look up the available component services from the
whiteboard.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all services of typeT
that are currently available.void
start
(Whiteboard whiteboard) void
stop()
-
Constructor Details
-
AbstractServiceTracker
-
AbstractServiceTracker
-
-
Method Details
-
start
-
stop
public void stop() -
getServices
Returns all services of typeT
that are currently available. This method is intentionally not synchronized to prevent lock contention when accessed frequently in highly concurrent code.- Returns:
- currently available services
-