org.apache.jackrabbit.oak.plugins.segment.SegmentDiscoveryLiteService.class Maven / Gradle / Ivy
???? 3 ? Eorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService java/lang/Object SegmentDiscoveryLiteService.java ,Lorg/apache/felix/scr/annotations/Component; immediate *Lorg/apache/felix/scr/annotations/Service; value GLorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService; Gorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService$1 ]org/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService$DiscoveryLiteDescriptor DiscoveryLiteDescriptor COMPONENT_NAME Ljava/lang/String; Eorg.apache.jackrabbit.oak.plugins.segment.SegmentDiscoveryLiteService OAK_DISCOVERYLITE_CLUSTERVIEW oak.discoverylite.clusterview logger Lorg/slf4j/Logger; nodeStore /Lorg/apache/jackrabbit/oak/spi/state/NodeStore; ,Lorg/apache/felix/scr/annotations/Reference; cardinality 7Lorg/apache/felix/scr/annotations/ReferenceCardinality; MANDATORY_UNARY policy 2Lorg/apache/felix/scr/annotations/ReferencePolicy; STATIC runtimeClusterId ()V $ %
& java/util/UUID (
randomUUID ()Ljava/util/UUID; * +
) , toString ()Ljava/lang/String; . /
) 0 # 2 this getClusterViewAsDescriptorValue 6 Borg/apache/jackrabbit/oak/plugins/identifier/ClusterRepositoryInfo 8
getOrCreateId C(Lorg/apache/jackrabbit/oak/spi/state/NodeStore;)Ljava/lang/String; : ;
9 < java/lang/StringBuilder >
? & #{"seq":1,"final":true,"me":1,"id":" A append -(Ljava/lang/String;)Ljava/lang/StringBuilder; C D
? E /","active":[1],"deactivating":[],"inactive":[]} G
? 0 clusterId activate 0(Lorg/osgi/service/component/ComponentContext;)V +Lorg/apache/felix/scr/annotations/Activate; N activate: start P org/slf4j/Logger R trace (Ljava/lang/String;)V T U S V :org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore X Aorg/apache/jackrabbit/oak/plugins/segment/SegmentNodeStoreService Z ?activate: nodeStore is not a SegmentNodeStore, thus disabling: org.apache.jackrabbit.oak.plugins.segment.SegmentDiscoveryLiteService \ info ^ U S _ +org/osgi/service/component/ComponentContext a disableComponent c U b d -org/apache/jackrabbit/oak/osgi/OsgiWhiteboard f getBundleContext $()Lorg/osgi/framework/BundleContext; h i b j %(Lorg/osgi/framework/BundleContext;)V $ l
g m )org/apache/jackrabbit/oak/api/Descriptors o ?(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService;Lorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService$1;)V $ q
r java/util/Collections t emptyMap ()Ljava/util/Map; v w
u x register k(Ljava/lang/Class;Ljava/lang/Object;Ljava/util/Map;)Lorg/apache/jackrabbit/oak/spi/whiteboard/Registration; z {
g |
activate: end ~ weAreOnSegment Z
whiteboard /Lorg/apache/jackrabbit/oak/osgi/OsgiWhiteboard; context -Lorg/osgi/service/component/ComponentContext;
access$000 [(Lorg/apache/jackrabbit/oak/plugins/segment/SegmentDiscoveryLiteService;)Ljava/lang/String; 5 /
? x0 org/slf4j/LoggerFactory ? getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ? ?
? ?
bindNodeStore 2(Lorg/apache/jackrabbit/oak/spi/state/NodeStore;)V unbindNodeStore
ConstantValue RuntimeInvisibleAnnotations Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses ! ? ? B ? e e ! " # $ % ? = *? '*? -? 1? 3? ? 4 ?
5 u 5 / ? Y !*? 7? =L? ?Y? @B? F+? FH? F? I? ? ! 4 J ?
? ? K L ? q? OQ? W *? 7? Y? =? *? 7? [? =? =? ? O]? ` +? e ?+? $? gY+? k ? nN-p? Y*? s? y? }W? O? W ? ? > ? ? % ? ? S ? ? q 4 q ? ? * G ? ? ? > ?
? ? ? # ? ( ? * ? . ? 8 ? @ ? A ? E ? S ? f ? p ? ?
? $ ? M ? ? ? / *? ?? ? ? ? 5 ? % ? ! ? ?? O? ? @ ? ? ? *+? 7? ? ? ? # *? 7+? *? 7? ?
? ?
? Z
[ c
© 2015 - 2025 Weber Informatics LLC | Privacy Policy