-
public class NativeModuleRegistryA set of Java APIs to expose to a particular JavaScript instance.
-
-
Constructor Summary
Constructors Constructor Description NativeModuleRegistry(ReactApplicationContext reactApplicationContext, Map<String, ModuleHolder> modules)
-
Method Summary
Modifier and Type Method Description voidonBatchComplete()<T extends NativeModule> booleanhasModule(Class<T> moduleInterface)<T extends NativeModule> TgetModule(Class<T> moduleInterface)booleanhasModule(String name)NativeModulegetModule(String name)List<NativeModule>getAllModules()-
-
Constructor Detail
-
NativeModuleRegistry
NativeModuleRegistry(ReactApplicationContext reactApplicationContext, Map<String, ModuleHolder> modules)
-
-
Method Detail
-
onBatchComplete
void onBatchComplete()
-
hasModule
<T extends NativeModule> boolean hasModule(Class<T> moduleInterface)
-
getModule
<T extends NativeModule> T getModule(Class<T> moduleInterface)
-
getModule
NativeModule getModule(String name)
-
getAllModules
List<NativeModule> getAllModules()
-
-
-
-