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