
com.groupbyinc.flux.common.component.AbstractLifecycleComponent.class Maven / Gradle / Ivy
???? 3 ? ?com/groupbyinc/flux/common/component/AbstractLifecycleComponent ?Lcom/groupbyinc/flux/common/component/AbstractComponent;Lcom/groupbyinc/flux/common/component/LifecycleComponent; 6com/groupbyinc/flux/common/component/AbstractComponent 7com/groupbyinc/flux/common/component/LifecycleComponent AbstractLifecycleComponent.java 4com/groupbyinc/flux/common/component/Lifecycle$State .com/groupbyinc/flux/common/component/Lifecycle State lifecycle 0Lcom/groupbyinc/flux/common/component/Lifecycle; listeners Ljava/util/List; JLjava/util/List; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V
()V
)java/util/concurrent/CopyOnWriteArrayList
this FLcom/groupbyinc/flux/common/component/AbstractLifecycleComponent; ALcom/groupbyinc/flux/common/component/AbstractLifecycleComponent; settings .Lcom/groupbyinc/flux/common/settings/Settings; B(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/Class;)V &
' customClass Ljava/lang/Class; lifecycleState 8()Lcom/groupbyinc/flux/common/component/Lifecycle$State; state - ,
. addLifecycleListener ;(Lcom/groupbyinc/flux/common/component/LifecycleListener;)V java/util/List 2 add (Ljava/lang/Object;)Z 4 5 3 6 listener 8Lcom/groupbyinc/flux/common/component/LifecycleListener; removeLifecycleListener remove ; 5 3 < start ()Ljava/lang/Object; canMoveToStarted ()Z @ A
B iterator ()Ljava/util/Iterator; D E 3 F java/util/Iterator H hasNext J A I K next M ? I N 6com/groupbyinc/flux/common/component/LifecycleListener P beforeStart R
Q S doStart U
V
moveToStarted X A
Y
afterStart [
Q \ stop canMoveToStopped _ A
`
beforeStop b
Q c
moveToStopped e A
f doStop h
i afterStop k
Q l close started o A
p ^ ?
r canMoveToClosed t A
u beforeClose w
Q x moveToClosed z A
{ doClose }
~
afterClose ?
Q ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ()TT;
SourceFile InnerClasses! ? ? n *+? *? Y? ? *? Y? ? ? ? ! # $ % ? ! " ? % " &