
com.groupbyinc.flux.rest.RestModule.class Maven / Gradle / Ivy
???? 3 C #com/groupbyinc/flux/rest/RestModule 0com/groupbyinc/flux/common/inject/AbstractModule RestModule.java settings .Lcom/groupbyinc/flux/common/settings/Settings; restPluginsActions Ljava/util/List; PLjava/util/List;>;
addRestAction (Ljava/lang/Class;)V
java/util/List add (Ljava/lang/Object;)Z this %Lcom/groupbyinc/flux/rest/RestModule;
restAction >Ljava/lang/Class<+Lcom/groupbyinc/flux/rest/BaseRestHandler;>; Ljava/lang/Class; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V ()V
java/util/ArrayList
" configure 'com/groupbyinc/flux/rest/RestController % bind U(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilder; ' (
) @com/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilder + asEagerSingleton - , . 0com/groupbyinc/flux/rest/action/RestActionModule 0 (Ljava/util/List;)V 2
1 3 binder ,()Lcom/groupbyinc/flux/common/inject/Binder; 5 6
7 -(Lcom/groupbyinc/flux/common/inject/Binder;)V $ 9
1 : Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable A(Ljava/lang/Class<+Lcom/groupbyinc/flux/rest/BaseRestHandler;>;)V
SourceFile ! <