jobmanager is suitable for dependencyinjection . just provide your dependencyinjector and it will call it before job #onadded method is called . if job is persistent , it will also be called before run method . concode_field_sep DependencyInjector dependencyInjector concode_elem_sep NetworkUtil networkUtil concode_elem_sep String id concode_elem_sep Configuration configuration concode_elem_sep int MIN_CONSUMER_COUNT concode_elem_sep int minConsumerCount concode_elem_sep int consumerKeepAlive concode_elem_sep int maxConsumerCount concode_elem_sep int DEFAULT_THREAD_KEEP_ALIVE_SECONDS concode_elem_sep int loadFactor concode_elem_sep boolean inTestMode concode_elem_sep int DEFAULT_LOAD_FACTOR_PER_CONSUMER concode_elem_sep QueueFactory queueFactory concode_elem_sep String DEFAULT_ID concode_elem_sep int MAX_CONSUMER_COUNT concode_elem_sep Context appContext concode_elem_sep CustomLogger customLogger concode_field_sep int getMaxConsumerCount concode_elem_sep int getMinConsumerCount concode_elem_sep DependencyInjector getDependencyInjector concode_elem_sep Builder networkUtil concode_elem_sep Builder minConsumerCount concode_elem_sep CustomLogger getCustomLogger concode_elem_sep Builder maxConsumerCount concode_elem_sep int getLoadFactor concode_elem_sep String getId concode_elem_sep boolean isInTestMode concode_elem_sep Builder jobSerializer concode_elem_sep NetworkUtil getNetworkUtil concode_elem_sep QueueFactory getQueueFactory concode_elem_sep Builder queueFactory concode_elem_sep Builder loadFactor concode_elem_sep Configuration build concode_elem_sep Builder consumerKeepAlive concode_elem_sep Builder inTestMode concode_elem_sep Builder id concode_elem_sep int getConsumerKeepAlive concode_elem_sep Builder injector concode_elem_sep Builder customLogger
Builder function ( DependencyInjector arg0 ) { configuration . dependencyInjector = arg0 ; return this ; }