@Inject ApplicationInitializer(PersistService persistenceService) { persistenceService.start(); }
private void startPersistenceService() { persistService.start(); }
@Inject MyInitializer(PersistService service) { service.start(); }
@Inject public DiscoveryDirectoriesLauncher(PersistService persistService) { this.persistService = persistService; persistService.start(); }